CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
libcgi: initial import
authorJose V Beneyto <sepen@crux.nu>
Wed, 13 Jun 2012 08:34:06 +0000 (10:34 +0200)
committerJose V Beneyto <sepen@crux.nu>
Wed, 13 Jun 2012 08:34:06 +0000 (10:34 +0200)
libcgi/.footprint [new file with mode: 0644]
libcgi/.md5sum [new file with mode: 0644]
libcgi/Pkgfile [new file with mode: 0644]

diff --git a/libcgi/.footprint b/libcgi/.footprint
new file mode 100644 (file)
index 0000000..9b37b03
--- /dev/null
@@ -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 (file)
index 0000000..0e5e9b4
--- /dev/null
@@ -0,0 +1 @@
+110af367081d33c7ed6527a1a60fc274  libcgi-1.0.tar.gz
diff --git a/libcgi/Pkgfile b/libcgi/Pkgfile
new file mode 100644 (file)
index 0000000..2e45d37
--- /dev/null
@@ -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
+}