wok annotate re2c/receipt @ rev 21858
Fix re2c build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 18 19:26:59 2019 +0200 (2019-09-18) |
parents | f2e985474c6d |
children | 352e1cee9466 |
rev | line source |
---|---|
pankso@2822 | 1 # SliTaz package receipt. |
pankso@2822 | 2 |
pankso@2822 | 3 PACKAGE="re2c" |
Hans-G?nter@21835 | 4 VERSION="1.2.1" |
pankso@2822 | 5 CATEGORY="system-tools" |
Hans-G?nter@21835 | 6 TAGS="scanner" |
Hans-G?nter@21835 | 7 SHORT_DESC="A tool for generating C-based recognisers from regular expressions." |
pankso@2822 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@15601 | 9 LICENSE="PublicDomain" |
Hans-G?nter@21835 | 10 WEB_SITE="https://re2c.org/" |
Hans-G?nter@21835 | 11 |
Hans-G?nter@21836 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21836 | 13 WGET_URL="https://github.com/skvadrik/re2c/archive/$VERSION.tar.gz" |
pankso@2822 | 14 |
pascal@21858 | 15 BUILD_DEPENDS="automake libtool" |
pascal@21858 | 16 |
pankso@2822 | 17 # Rules to configure and make the package. |
pankso@2822 | 18 compile_rules() |
pankso@2822 | 19 { |
pascal@21858 | 20 ./autogen.sh |
pascal@21858 | 21 ./configure \ |
pascal@21858 | 22 --prefix=/usr \ |
pankso@2822 | 23 $CONFIGURE_ARGS && |
pankso@2822 | 24 make && |
pascal@15601 | 25 make DESTDIR=$DESTDIR install |
pankso@2822 | 26 } |
pankso@2822 | 27 |
pankso@2822 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2822 | 29 genpkg_rules() |
pankso@2822 | 30 { |
pankso@2822 | 31 mkdir -p $fs/usr |
pascal@15601 | 32 cp -a $install/usr/bin $fs/usr |
pankso@2822 | 33 } |