desktop/fcgi/PKGBUILD

31 lines
792 B
Bash

#
# Apps Packages for Chakra, part of chakra-project.org
#
pkgname=fcgi
pkgver=2.4.0
pkgrel=1
depends=('gcc-libs')
pkgdesc="FASTCgi(fcgi) is language independent, high performant extension to CGI"
arch=(i686 x86_64)
license=('custom')
options=('!libtool' '!makeflags')
url="http://www.fastcgi.com"
source=(http://www.fastcgi.com/dist/${pkgname}-${pkgver}.tar.gz
gcc44-fix-include.patch)
md5sums=('d15060a813b91383a9f3c66faf84867e'
'a8028462163755f3ce457a5c641f237b')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 -i "${srcdir}/gcc44-fix-include.patch"
libtoolize --force
aclocal
autoconf
automake --foreign
./configure --prefix=/usr
make
make DESTDIR="${pkgdir}" install
install -Dm644 LICENSE.TERMS "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}