2006-11-30 05:31:05 +01:00
|
|
|
# Description: CGI library for C.
|
|
|
|
# URL: http://libcgi.sourceforge.net/
|
2014-11-10 13:28:07 +01:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2006-11-30 05:31:05 +01:00
|
|
|
# Packager: Ivan Lyangouzov, tzong at crux dot spb dot ru
|
|
|
|
|
|
|
|
name=libcgi
|
|
|
|
version=1.0
|
2013-02-27 13:22:59 +01:00
|
|
|
release=2
|
2011-01-10 10:30:08 +01:00
|
|
|
source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.gz)
|
2006-11-30 05:31:05 +01:00
|
|
|
|
|
|
|
build() {
|
2010-11-13 04:31:40 +01:00
|
|
|
cd $name-$version
|
2013-02-27 13:22:59 +01:00
|
|
|
|
|
|
|
export CFLAGS="$CFLAGS -fPIC"
|
2006-11-30 05:31:05 +01:00
|
|
|
install -d $PKG/usr/lib $PKG/usr/include
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--disable-nls
|
|
|
|
|
2007-04-01 09:44:32 +02:00
|
|
|
make
|
|
|
|
make prefix=$PKG/usr install
|
2006-11-30 05:31:05 +01:00
|
|
|
}
|