From 3526912247793eb8fe5e88e57250aca490eb0c56 Mon Sep 17 00:00:00 2001 From: Jose V Beneyto Date: Wed, 13 Jun 2012 10:34:06 +0200 Subject: [PATCH] libcgi: initial import --- libcgi/.footprint | 7 +++++++ libcgi/.md5sum | 1 + libcgi/Pkgfile | 24 ++++++++++++++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 libcgi/.footprint create mode 100644 libcgi/.md5sum create mode 100644 libcgi/Pkgfile diff --git a/libcgi/.footprint b/libcgi/.footprint new file mode 100644 index 0000000..9b37b03 --- /dev/null +++ b/libcgi/.footprint @@ -0,0 +1,7 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/cgi.h +-rw-r--r-- root/root usr/include/session.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libcgi.a +-rwxr-xr-x root/root usr/lib/libcgi.so diff --git a/libcgi/.md5sum b/libcgi/.md5sum new file mode 100644 index 0000000..0e5e9b4 --- /dev/null +++ b/libcgi/.md5sum @@ -0,0 +1 @@ +110af367081d33c7ed6527a1a60fc274 libcgi-1.0.tar.gz diff --git a/libcgi/Pkgfile b/libcgi/Pkgfile new file mode 100644 index 0000000..2e45d37 --- /dev/null +++ b/libcgi/Pkgfile @@ -0,0 +1,24 @@ +# Description: CGI library for C. +# URL: http://libcgi.sourceforge.net/ +# Packager: Ivan Lyangouzov, tzong at crux dot spb dot ru +# Maintainer: Danny Rawlins, monster dot romster at gmail dot com +# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu + +name=libcgi +version=1.0 +release=1 +source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.gz) + +build() { + cd $name-$version + install -d $PKG/usr/lib $PKG/usr/include + sed -e 's|va_copy(bkp, str);|va_copy(bkp, ptr);|' \ + -i src/string.c + + ./configure \ + --prefix=/usr \ + --disable-nls + + make + make prefix=$PKG/usr install +} -- 2.26.2