wok-6.x annotate fcgi/receipt @ rev 14283
Add perl-fuse
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 06 15:49:36 2013 +0200 (2013-04-06) |
parents | ef17f8f40a10 |
children | 3b4e4318134e |
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" |
pankso@2473 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@2473 | 9 WEB_SITE="http://www.fastcgi.com/" |
pankso@2473 | 10 WGET_URL="http://www.fastcgi.com/dist/$TARBALL" |
jozee@4936 | 11 TAGS="CGI" |
pankso@2473 | 12 |
pankso@2473 | 13 # Rules to configure and make the package. |
pankso@2473 | 14 compile_rules() |
pankso@2473 | 15 { |
erjo@4215 | 16 # Gcc4 fix from Gentoo (http://bugs.gentoo.org/256654) |
pankso@9791 | 17 busybox patch -p0 -i $stuff/fcgi-2.4.0_gcc4.u |
erjo@4215 | 18 |
pankso@2473 | 19 cd $src |
pankso@2473 | 20 ./configure \ |
pankso@2473 | 21 --prefix=/usr \ |
pankso@2473 | 22 --infodir=/usr/share/info \ |
pankso@2473 | 23 --mandir=/usr/share/man \ |
pankso@2473 | 24 $CONFIGURE_ARGS && |
slaxemulator@8437 | 25 make -j1 && |
slaxemulator@8437 | 26 make -j1 DESTDIR=$PWD/_pkg install |
pankso@2473 | 27 } |
pankso@2473 | 28 |
pankso@2473 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2473 | 30 genpkg_rules() |
pankso@2473 | 31 { |
pankso@2473 | 32 mkdir -p $fs/usr/lib |
pankso@2473 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@2473 | 34 cp -a $_pkg/usr/bin $fs/usr |
pankso@2473 | 35 } |