CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
flex: updated to 2.5.37 and aligned with upstream
authorVictor Martinez <pitillo@ono.com>
Wed, 28 Nov 2012 16:33:06 +0000 (16:33 +0000)
committerVictor Martinez <pitillo@ono.com>
Wed, 28 Nov 2012 16:33:06 +0000 (16:33 +0000)
flex/.footprint
flex/.md5sum
flex/Pkgfile

index 40c5fb67578065997b6632ef2169b49bcd97774d..98702d008d15d60547d65fc621189333e517660f 100644 (file)
@@ -1,6 +1,7 @@
 drwxr-xr-x     root/root       usr/
 drwxr-xr-x     root/root       usr/bin/
 -rwxr-xr-x     root/root       usr/bin/flex
+lrwxrwxrwx     root/root       usr/bin/flex++ -> flex
 lrwxrwxrwx     root/root       usr/bin/lex -> flex
 drwxr-xr-x     root/root       usr/include/
 -rw-r--r--     root/root       usr/include/FlexLexer.h
index c7265cd0a03dcb727a9e3efbda100cf4ed2cd89c..fd70a985f6f73125a7e2e232dbaf0677d599c234 100644 (file)
@@ -1 +1 @@
-10714e50cea54dc7a227e3eddcd44d57  flex-2.5.35.tar.bz2
+c75940e1fc25108f2a7b3ef42abdae06  flex-2.5.37.tar.bz2
index f35912fbfec45ca42a76bcc808d43d03ee6dc5a0..9667225f2e7017102ad96dc69120b2c89d9899e7 100644 (file)
@@ -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
 }