wok-6.x annotate re2c/receipt @ rev 17759
hsetroot, wbar: link with libX11
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 10 08:31:24 2015 +0100 (2015-03-10) |
parents | 8be66f03fbd2 |
children | f3a0518d041b |
rev | line source |
---|---|
pankso@2822 | 1 # SliTaz package receipt. |
pankso@2822 | 2 |
pankso@2822 | 3 PACKAGE="re2c" |
pankso@2822 | 4 VERSION="0.13.5" |
pankso@2822 | 5 CATEGORY="system-tools" |
pankso@2822 | 6 SHORT_DESC="Re2c is a tool for writing very fast and very flexible scanners." |
pankso@2822 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15601 | 8 LICENSE="PublicDomain" |
pankso@2822 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@2822 | 10 WEB_SITE="http://re2c.org/" |
pankso@2822 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@4972 | 12 TAGS="scanner" |
pankso@2822 | 13 |
pankso@2822 | 14 # Rules to configure and make the package. |
pankso@2822 | 15 compile_rules() |
pankso@2822 | 16 { |
pankso@2822 | 17 cd $src |
pankso@2822 | 18 ./configure \ |
pankso@2822 | 19 --prefix=/usr \ |
pankso@2822 | 20 $CONFIGURE_ARGS && |
pankso@2822 | 21 make && |
pascal@15601 | 22 make DESTDIR=$DESTDIR install |
pankso@2822 | 23 } |
pankso@2822 | 24 |
pankso@2822 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2822 | 26 genpkg_rules() |
pankso@2822 | 27 { |
pankso@2822 | 28 mkdir -p $fs/usr |
pascal@15601 | 29 cp -a $install/usr/bin $fs/usr |
pankso@2822 | 30 } |