wok-next annotate flex/receipt @ rev 20044
gdb: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 22 21:25:10 2017 +0200 (2017-10-22) |
parents | 8da249b2c8d7 |
children | 90a5eb560fd6 |
rev | line source |
---|---|
al@19745 | 1 # SliTaz package receipt v2. |
pankso@34 | 2 |
pankso@34 | 3 PACKAGE="flex" |
al@19745 | 4 VERSION="2.6.4" |
pankso@204 | 5 CATEGORY="development" |
al@19745 | 6 SHORT_DESC="Flex is a fast lexical analyser generator" |
pankso@34 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15022 | 8 LICENSE="BSD" |
al@19571 | 9 WEB_SITE="https://github.com/westes/flex" |
pankso@15943 | 10 HOST_ARCH="i486 arm" |
pankso@34 | 11 |
al@19745 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19571 | 13 WGET_URL="$WEB_SITE/releases/download/v$VERSION/$TARBALL" |
al@19571 | 14 |
al@19571 | 15 BUILD_DEPENDS="bison gettext help2man indent" |
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 |
al@19571 | 25 |
al@19571 | 26 ./configure \ |
al@19571 | 27 --docdir=/usr/share/doc/flex-$VERSION \ |
al@19571 | 28 $CONFIGURE_ARGS && |
pankso@10041 | 29 make && make install |
al@19571 | 30 |
al@19571 | 31 ln -s flex $install/usr/bin/lex |
pankso@34 | 32 } |
pankso@34 | 33 |
pankso@34 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@34 | 35 genpkg_rules() |
pankso@34 | 36 { |
al@19745 | 37 copy @std @dev |
al@19745 | 38 DEPENDS="bison" |
pankso@34 | 39 } |