wok view flex/receipt @ rev 22950

updated inotify-tools again (3.14 -> 3.20.2.2)
author Hans-G?nter Theisgen
date Fri Feb 28 14:33:03 2020 +0100 (2020-02-28)
parents 0c85455b2f3b
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
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"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/westes/$PACKAGE/releases/download/v$VERSION/$TARBALL"
14 DEPENDS="bison"
15 BUILD_DEPENDS="bison"
16 HOST_ARCH="i486 arm"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 case "$ARCH" in
22 arm*)
23 export ac_cv_func_malloc_0_nonnull=yes
24 export ac_cv_func_realloc_0_nonnull=yes
25 esac
27 ./configure $CONFIGURE_ARGS &&
28 make -j 1 &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 ln -s flex $fs/usr/bin/lex
38 cp -a $install/usr/lib $fs/usr
39 cp -a $install/usr/include $fs/usr
41 # locales
42 mkdir -p $fs/usr/share/locale
43 LOCALES="da de es fr pt_BR ro ro zh_CN zh_TW"
44 for locale in $LOCALES
45 do
46 cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
47 done
48 }