wok annotate flex/receipt @ rev 20543
Remove linux-mmc
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 01 11:07:58 2018 +0100 (2018-12-01) |
parents | 881c653f2f8c |
children | f445044dc215 |
rev | line source |
---|---|
pankso@34 | 1 # SliTaz package receipt. |
pankso@34 | 2 |
pankso@34 | 3 PACKAGE="flex" |
devl547@17657 | 4 VERSION="2.5.39" |
pankso@204 | 5 CATEGORY="development" |
pankso@34 | 6 SHORT_DESC="Flex is a fast lexical analyser generator." |
pankso@34 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15022 | 8 LICENSE="BSD" |
pankso@34 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@34 | 10 WEB_SITE="http://flex.sourceforge.net/" |
pankso@34 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@15943 | 12 HOST_ARCH="i486 arm" |
pankso@34 | 13 |
pankso@10042 | 14 DEPENDS="bison" |
pankso@10042 | 15 BUILD_DEPENDS="bison" |
pankso@10042 | 16 |
pankso@34 | 17 # Rules to configure and make the package. |
pankso@34 | 18 compile_rules() |
pankso@34 | 19 { |
pascal@19088 | 20 case "$ARCH" in |
pascal@19088 | 21 arm*) |
pascal@19088 | 22 export ac_cv_func_malloc_0_nonnull=yes |
pascal@19089 | 23 export ac_cv_func_realloc_0_nonnull=yes |
pascal@19088 | 24 esac |
pankso@10041 | 25 ./configure $CONFIGURE_ARGS && |
pankso@10041 | 26 make && make install |
pankso@34 | 27 } |
pankso@34 | 28 |
pankso@34 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@34 | 30 genpkg_rules() |
pankso@34 | 31 { |
pankso@2050 | 32 mkdir -p $fs/usr |
pankso@13204 | 33 cp -a $install/usr/bin $fs/usr |
pascal@67 | 34 ln -s flex $fs/usr/bin/lex |
pankso@13204 | 35 cp -a $install/usr/lib $fs/usr |
pankso@13204 | 36 cp -a $install/usr/include $fs/usr |
pankso@34 | 37 } |