wok-next view flex/receipt @ rev 19979
Up libdrm (2.4.82), wayland (1.14.0)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Oct 18 03:31:51 2017 +0300 (2017-10-18) |
parents | 8da249b2c8d7 |
children | 90a5eb560fd6 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="flex"
4 VERSION="2.6.4"
5 CATEGORY="development"
6 SHORT_DESC="Flex is a fast lexical analyser generator"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://github.com/westes/flex"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/releases/download/v$VERSION/$TARBALL"
15 BUILD_DEPENDS="bison gettext help2man indent"
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
26 ./configure \
27 --docdir=/usr/share/doc/flex-$VERSION \
28 $CONFIGURE_ARGS &&
29 make && make install
31 ln -s flex $install/usr/bin/lex
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 copy @std @dev
38 DEPENDS="bison"
39 }