wok-6.x view giblib/receipt @ rev 25030
giblib: inserted configure parameters
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 20 10:23:32 2022 +0100 (2022-05-20) |
parents | 00e3b45c063b |
children | 513bea7dd854 |
line source
1 # SliTaz package receipt
3 PACKAGE="giblib"
4 VERSION="1.2.4"
5 CATEGORY="graphics"
6 SHORT_DESC="Giblib graphics library."
7 MAINTAINER="mallory@sweetpeople.org"
8 LICENSE="MIT"
9 WEB_SITE="http://freshmeat.sourceforge.net/projects/giblib"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/cbane/giblib/archive/v$VERSION.tar.gz"
14 DEPENDS="freetype imlib2 xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext"
15 BUILD_DEPENDS="freetype-dev imlib2-dev xorg-xproto xorg-libXext-dev"
17 HOST_ARCH="i486 arm"
19 # Handle cross compilation
20 case "$ARCH" in
21 arm*) export CFLAGS="$CFLAGS -L/cross/$ARCH/sysroot/usr/lib" ;;
22 esac
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i 's|/doc|/share&|' Makefile*
29 ./configure \
30 --prefix=/usr \
31 --with-imlib2-exec-prefix=/usr/bin \
32 --with-imlib2-prefix=/usr/lib/imlib2 \
33 $CONFIGURE_ARGS &&
34 make &&
35 make install DESTDIR=$DESTDIR
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cook_copy_folders bin
42 cook_copy_folders pkgconfig
43 cook_copy_files *.so*
44 }