From 957921196b92dcb26fbab5025de895804655de0f Mon Sep 17 00:00:00 2001 From: Jose V Beneyto Date: Sat, 15 May 2010 11:39:06 +0200 Subject: [PATCH] giblib: initial import (verified compilation) --- giblib/.footprint | 24 ++++++++++++++++++++++++ giblib/.md5sum | 1 + giblib/Pkgfile | 30 ++++++++++++++++++++++++++++++ 3 files changed, 55 insertions(+) create mode 100644 giblib/.footprint create mode 100644 giblib/.md5sum create mode 100644 giblib/Pkgfile 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 +} -- 2.26.2