wok-6.x annotate fcgi/receipt @ rev 15700
wbar2:Fixconfig (again)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Dec 22 15:10:14 2013 +0100 (2013-12-22) |
parents | 2325c41c9264 |
children | e3f377fbc5f0 |
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" |
pankso@2473 | 10 WEB_SITE="http://www.fastcgi.com/" |
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 } |