wok-next view flex/receipt @ rev 21437
updated rdesktop again (1.8.3 -> 1.9.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue May 05 15:36:05 2020 +0100 (2020-05-05) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="flex"
4 VERSION="2.6.4"
5 CATEGORY="development"
6 SHORT_DESC="Fast lexical analyser generator"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://github.com/westes/flex"
10 LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/flex.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/releases/download/v$VERSION/$TARBALL"
14 TARBALL_MD5="2882e3179748cc9f9c23ec593d6adc8d"
16 BUILD_DEPENDS="bison gettext-dev help2man indent"
18 SPLIT="libflex $PACKAGE"
20 COPY_libflex="*.so*"
21 COPY_std="@std @dev @rm"
23 CAT_libflex="libdevel|library"
24 DEPENDS_std="libflex bison"
25 TAGS_std="LFS"
27 compile_rules() {
28 # Fix a problem introduced with glibc-2.26
29 sed -i "/math.h/a #include <malloc.h>" src/flexdef.h
31 ./configure $CONFIGURE_ARGS &&
32 fix libtool &&
33 make &&
34 make install || return 1
36 ln -s flex $install/usr/bin/lex
37 }