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