vte: Fixed *.po issue (thanks Juergen)

This commit is contained in:
Jose V Beneyto 2008-09-12 12:33:21 +02:00
parent a33f1670d1
commit c636daafaa

View File

@ -6,16 +6,14 @@
name=vte name=vte
version=0.17.2 version=0.17.2
release=2 release=3
source=(ftp://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.bz2) source=(ftp://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.bz2)
build() { build() {
cd $name-$version cd $name-$version
rm po/*.po
sed -e '/^IT_PROG_INTLTOOL/d' -i configure.in sed -e '/^IT_PROG_INTLTOOL/d' -i configure.in
sed -e '/^SUBDIRS/s/po//' -i Makefile.in
autoconf autoconf
sed -e 's/USE_NLS=yes/USE_NLS=no/' \
-e 's/ENABLE_NLS 1/ENABLE_NLS 0/' -i configure
./configure --prefix=/usr \ ./configure --prefix=/usr \
--libexecdir=/usr/lib/$name \ --libexecdir=/usr/lib/$name \
--disable-static \ --disable-static \
@ -26,5 +24,5 @@ build() {
--with-pangox --with-pangox
make make
make DESTDIR=$PKG install make DESTDIR=$PKG install
rm -r $PKG/usr/share/gtk-doc rm -rf $PKG/usr/share/{gtk-doc,locale}
} }