wok annotate re2c/receipt @ rev 23611
updated re2c (1.2.1 -> 1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 14 06:45:07 2020 +0100 (2020-04-14) |
parents | 352e1cee9466 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pankso@2822 | 1 # SliTaz package receipt. |
pankso@2822 | 2 |
pankso@2822 | 3 PACKAGE="re2c" |
Hans-G?nter@23611 | 4 VERSION="1.3" |
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@21871 | 20 [ -d m4 ] || mkdir m4 |
Hans-G?nter@23611 | 21 ./autogen.sh && |
Hans-G?nter@23611 | 22 ./configure \ |
Hans-G?nter@23611 | 23 --prefix=/usr \ |
pankso@2822 | 24 $CONFIGURE_ARGS && |
pankso@2822 | 25 make && |
pascal@15601 | 26 make DESTDIR=$DESTDIR install |
pankso@2822 | 27 } |
pankso@2822 | 28 |
pankso@2822 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2822 | 30 genpkg_rules() |
pankso@2822 | 31 { |
pankso@2822 | 32 mkdir -p $fs/usr |
Hans-G?nter@23611 | 33 cp -a $install/usr/bin $fs/usr |
pankso@2822 | 34 } |