# SliTaz package receipt. PACKAGE="fcgi" VERSION="2.4.0" CATEGORY="development" SHORT_DESC="Fast CGI binary and library." MAINTAINER="pankso@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.fastcgi.com/" WGET_URL="http://www.fastcgi.com/dist/$TARBALL" TAGS="CGI" # Rules to configure and make the package. compile_rules() { # Gcc4 fix from Gentoo (http://bugs.gentoo.org/256654) busybox patch -p0 -i $stuff/fcgi-2.4.0_gcc4.u cd $src ./configure \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ $CONFIGURE_ARGS && make -j1 && make -j1 DESTDIR=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $_pkg/usr/lib/*.so* $fs/usr/lib cp -a $_pkg/usr/bin $fs/usr }