wok-current rev 25030
giblib: inserted configure parameters
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 20 10:23:32 2022 +0100 (2022-05-20) |
parents | e747fc271d75 |
children | 9c8ba5b98eb9 513bea7dd854 |
files | giblib/description.txt giblib/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/giblib/description.txt Fri May 20 10:23:32 2022 +0100 1.3 @@ -0,0 +1,4 @@ 1.4 +Giblib is a simple library which wraps imlib2. 1.5 +It provides a wrapper to imlib2's context API, avoiding all the 1.6 +context_get and -set calls, adds fontstyles to the truetype renderer 1.7 +and supplies a generic doubly-linked list and some string functions.
2.1 --- a/giblib/receipt Thu May 19 19:43:34 2022 +0000 2.2 +++ b/giblib/receipt Fri May 20 10:23:32 2022 +0100 2.3 @@ -3,17 +3,19 @@ 2.4 PACKAGE="giblib" 2.5 VERSION="1.2.4" 2.6 CATEGORY="graphics" 2.7 -SHORT_DESC="Giblib graphic library." 2.8 +SHORT_DESC="Giblib graphics library." 2.9 MAINTAINER="mallory@sweetpeople.org" 2.10 LICENSE="MIT" 2.11 +WEB_SITE="http://freshmeat.sourceforge.net/projects/giblib" 2.12 + 2.13 TARBALL="$PACKAGE-$VERSION.tar.gz" 2.14 -WEB_SITE="http://freshmeat.sourceforge.net/projects/giblib" 2.15 WGET_URL="https://github.com/cbane/giblib/archive/v$VERSION.tar.gz" 2.16 + 2.17 +DEPENDS="freetype imlib2 xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext" 2.18 +BUILD_DEPENDS="freetype-dev imlib2-dev xorg-xproto xorg-libXext-dev" 2.19 + 2.20 HOST_ARCH="i486 arm" 2.21 2.22 -DEPENDS="imlib2 freetype xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext" 2.23 -BUILD_DEPENDS="imlib2-dev imlib2 xorg-xproto freetype-dev xorg-libXext-dev" 2.24 - 2.25 # Handle cross compilation 2.26 case "$ARCH" in 2.27 arm*) export CFLAGS="$CFLAGS -L/cross/$ARCH/sysroot/usr/lib" ;; 2.28 @@ -23,18 +25,20 @@ 2.29 compile_rules() 2.30 { 2.31 sed -i 's|/doc|/share&|' Makefile* 2.32 - ./configure \ 2.33 - --prefix=/usr \ 2.34 + 2.35 + ./configure \ 2.36 + --prefix=/usr \ 2.37 + --with-imlib2-exec-prefix=/usr/bin \ 2.38 + --with-imlib2-prefix=/usr/lib/imlib2 \ 2.39 $CONFIGURE_ARGS && 2.40 make && 2.41 - make DESTDIR=$DESTDIR install 2.42 + make install DESTDIR=$DESTDIR 2.43 } 2.44 2.45 # Rules to gen a SliTaz package suitable for Tazpkg. 2.46 genpkg_rules() 2.47 { 2.48 - mkdir -p $fs/usr 2.49 - cp -a $install/usr/bin $fs/usr 2.50 - cp -a $install/usr/lib $fs/usr 2.51 - rm -f $fs/usr/lib/*a 2.52 + cook_copy_folders bin 2.53 + cook_copy_folders pkgconfig 2.54 + cook_copy_files *.so* 2.55 }