wok annotate fcgi/receipt @ rev 22391
Up crosstool-ng (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 29 13:06:35 2019 +0100 (2019-11-29) |
parents | 3b4e4318134e |
children | 3463bfcc3cb9 |
rev | line source |
---|---|
pankso@2473 | 1 # SliTaz package receipt. |
pankso@2473 | 2 |
pankso@2473 | 3 PACKAGE="fcgi" |
pankso@2473 | 4 VERSION="2.4.0" |
pankso@2473 | 5 CATEGORY="development" |
pankso@2473 | 6 SHORT_DESC="Fast CGI binary and library." |
pankso@2473 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15593 | 8 LICENSE="MIT" |
pankso@2473 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20673 | 10 WEB_SITE="https://fastcgi-archives.github.io/" |
pankso@2473 | 11 WGET_URL="http://www.fastcgi.com/dist/$TARBALL" |
jozee@4936 | 12 TAGS="CGI" |
pankso@2473 | 13 |
pankso@2473 | 14 # Rules to configure and make the package. |
pankso@2473 | 15 compile_rules() |
pankso@2473 | 16 { |
erjo@4215 | 17 # Gcc4 fix from Gentoo (http://bugs.gentoo.org/256654) |
pankso@9791 | 18 busybox patch -p0 -i $stuff/fcgi-2.4.0_gcc4.u |
erjo@4215 | 19 |
pankso@2473 | 20 cd $src |
pankso@2473 | 21 ./configure \ |
pankso@2473 | 22 --prefix=/usr \ |
pankso@2473 | 23 --infodir=/usr/share/info \ |
pankso@2473 | 24 --mandir=/usr/share/man \ |
pankso@2473 | 25 $CONFIGURE_ARGS && |
slaxemulator@8437 | 26 make -j1 && |
pascal@15593 | 27 make -j1 DESTDIR=$DESTDIR install |
pankso@2473 | 28 } |
pankso@2473 | 29 |
pankso@2473 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2473 | 31 genpkg_rules() |
pankso@2473 | 32 { |
pankso@2473 | 33 mkdir -p $fs/usr/lib |
pascal@15593 | 34 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15593 | 35 cp -a $install/usr/bin $fs/usr |
pankso@2473 | 36 } |