wok-next view fcgi/receipt @ rev 17024

usbids: up 20140731
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Aug 14 09:20:02 2014 +0000 (2014-08-14)
parents 2325c41c9264
children 4396aed7eb01
line source
1 # SliTaz package receipt.
3 PACKAGE="fcgi"
4 VERSION="2.4.0"
5 CATEGORY="development"
6 SHORT_DESC="Fast CGI binary and library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.fastcgi.com/"
11 WGET_URL="http://www.fastcgi.com/dist/$TARBALL"
12 TAGS="CGI"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 # Gcc4 fix from Gentoo (http://bugs.gentoo.org/256654)
18 busybox patch -p0 -i $stuff/fcgi-2.4.0_gcc4.u
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make -j1 &&
27 make -j1 DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 cp -a $install/usr/bin $fs/usr
36 }