CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
crossrootfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
libgmp: updated to 6.1.0
[crossrootfs.git]
/
flex
/
Pkgfile
diff --git
a/flex/Pkgfile
b/flex/Pkgfile
index 24652be9ab8c51860397d54de2d49451c2fc7040..e7534fb3afaa7b5f73566627cbcc62daa0af7cc8 100644
(file)
--- a/
flex/Pkgfile
+++ b/
flex/Pkgfile
@@
-5,22
+5,27
@@
# Depends on:
name=flex
# Depends on:
name=flex
-version=2.5.3
5
-release=
1
-source=(http://d
l.sourceforge.net/sourceforge/flex
/$name-$version.tar.bz2)
+version=2.5.3
9
+release=
2
+source=(http://d
ownloads.sourceforge.net/project/$name
/$name-$version.tar.bz2)
build() {
cd $name-$version
build() {
cd $name-$version
+
echo "ac_cv_func_malloc_0_nonnull=yes" > config.cache
echo "ac_cv_func_realloc_0_nonnull=yes" >> config.cache
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 \
--disable-nls \
--cache-file=config.cache
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
--disable-nls \
--cache-file=config.cache
+
make
make DESTDIR=$PKG install
make
make DESTDIR=$PKG install
+
ln -sf flex $PKG/usr/bin/lex
ln -sf flex $PKG/usr/bin/lex
- ln -sf flex.1.gz $PKG/usr/man/man1/lex.1.gz
- rm -rf $PKG/usr/info
+ ln -sf flex.1.gz $PKG/usr/share/man/man1/lex.1.gz
+
+ rm -r $PKG/usr/share/{info,doc}
}
}