X-Git-Url: http://gitweb/?a=blobdiff_plain;f=flex%2FPkgfile;h=9667225f2e7017102ad96dc69120b2c89d9899e7;hb=237e9a637aca70d9146ca7d6320ffd26a7a61761;hp=f35912fbfec45ca42a76bcc808d43d03ee6dc5a0;hpb=594704f417ab170ac0c1d057517396a352a9c73c;p=crossrootfs.git diff --git a/flex/Pkgfile b/flex/Pkgfile index f35912f..9667225 100644 --- a/flex/Pkgfile +++ b/flex/Pkgfile @@ -5,22 +5,28 @@ # Depends on: name=flex -version=2.5.35 -release=2 -source=(http://dl.sourceforge.net/sourceforge/flex/$name-$version.tar.bz2) +version=2.5.37 +release=1 +source=(http://downloads.sourceforge.net/project/$name/$name-$version.tar.bz2) build() { cd $name-$version + echo "ac_cv_func_malloc_0_nonnull=yes" > config.cache echo "ac_cv_func_realloc_0_nonnull=yes" >> config.cache + ./configure --build=$CHOST \ --host=$CTARGET \ --prefix=/usr \ + --mandir=/usr/man \ --disable-nls \ --cache-file=config.cache + make make DESTDIR=$PKG install + ln -sf flex $PKG/usr/bin/lex ln -sf flex.1.gz $PKG/usr/man/man1/lex.1.gz - rm -rf $PKG/usr/info + + rm -rf $PKG/usr/share }