wok view flex/receipt @ rev 20651
Up dietlibc (0.34), musl-libc (1.1.20)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 13 10:11:20 2019 +0100 (2019-01-13) |
parents | 881c653f2f8c |
children | f445044dc215 |
line source
1 # SliTaz package receipt.
3 PACKAGE="flex"
4 VERSION="2.5.39"
5 CATEGORY="development"
6 SHORT_DESC="Flex is a fast lexical analyser generator."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://flex.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="bison"
15 BUILD_DEPENDS="bison"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 case "$ARCH" in
21 arm*)
22 export ac_cv_func_malloc_0_nonnull=yes
23 export ac_cv_func_realloc_0_nonnull=yes
24 esac
25 ./configure $CONFIGURE_ARGS &&
26 make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $install/usr/bin $fs/usr
34 ln -s flex $fs/usr/bin/lex
35 cp -a $install/usr/lib $fs/usr
36 cp -a $install/usr/include $fs/usr
37 }