From: Jose V Beneyto Date: Sat, 15 May 2010 09:39:06 +0000 (+0200) Subject: giblib: initial import (verified compilation) X-Git-Url: http://gitweb/?a=commitdiff_plain;h=957921196b92dcb26fbab5025de895804655de0f;p=attic%2Fports%2Fopt-cross.git giblib: initial import (verified compilation) --- diff --git a/giblib/.footprint b/giblib/.footprint new file mode 100644 index 0000000..29e1d18 --- /dev/null +++ b/giblib/.footprint @@ -0,0 +1,24 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/giblib-config +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/giblib/ +-rw-r--r-- root/root usr/include/giblib/gib_btree.h +-rw-r--r-- root/root usr/include/giblib/gib_debug.h +-rw-r--r-- root/root usr/include/giblib/gib_hash.h +-rw-r--r-- root/root usr/include/giblib/gib_imlib.h +-rw-r--r-- root/root usr/include/giblib/gib_list.h +-rw-r--r-- root/root usr/include/giblib/gib_queue.h +-rw-r--r-- root/root usr/include/giblib/gib_stack.h +-rw-r--r-- root/root usr/include/giblib/gib_style.h +-rw-r--r-- root/root usr/include/giblib/gib_utils.h +-rw-r--r-- root/root usr/include/giblib/giblib.h +-rw-r--r-- root/root usr/include/giblib/giblib_config.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libgiblib.a +-rwxr-xr-x root/root usr/lib/libgiblib.la +lrwxrwxrwx root/root usr/lib/libgiblib.so -> libgiblib.so.1.0.6 +lrwxrwxrwx root/root usr/lib/libgiblib.so.1 -> libgiblib.so.1.0.6 +-rwxr-xr-x root/root usr/lib/libgiblib.so.1.0.6 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/giblib.pc diff --git a/giblib/.md5sum b/giblib/.md5sum new file mode 100644 index 0000000..ffea67a --- /dev/null +++ b/giblib/.md5sum @@ -0,0 +1 @@ +c810ef5389baf24882a1caca2954385e giblib-1.2.4.tar.gz diff --git a/giblib/Pkgfile b/giblib/Pkgfile new file mode 100644 index 0000000..e4f4a4a --- /dev/null +++ b/giblib/Pkgfile @@ -0,0 +1,30 @@ +# Description: Library for doubly linked lists and a wrapper for imlib2. +# URL: http://freshmeat.net/projects/giblib/ +# Packager: Mark Rosenstand, mark at borkware dot net +# Maintainer: Danny Rawlins, monster dot romster at gmail dot com +# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu +# Depends on: imlib2 + +name=giblib +version=1.2.4 +release=1 +source=(http://linuxbrit.co.uk/downloads/$name-$version.tar.gz) + +build() { + cd giblib-$version + + export CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" + + sed -i configure \ + -e "s|^IMLIB_CFLAGS=.*|IMLIB_CFLAGS=\"-I$CLFS/usr/include -I$CLFS/usr/include/freetype2\"|" \ + -e "s|^IMLIB_LIBS=.*|IMLIB_LIBS=\"-L$CLFS/usr/lib -lImlib2 -lfreetype -lz -lX11 -lXext -ldl -lm\"|" + + ./configure --build=$CHOST \ + --host=$CTARGET \ + --prefix=/usr \ + --with-imlib2-prefix=$CLFS/usr + + make + make DESTDIR=$PKG install + rm -r $PKG/usr/doc +}