wok view giblib/receipt @ rev 16628
xorg-xf86-video-ati, xorg-xf86-video-intel: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 10 10:32:14 2014 +0000 (2014-05-10) |
parents | de49f29b101e |
children | f6af821600e6 |
line source
1 # SliTaz package receipt
3 PACKAGE="giblib"
4 VERSION="1.2.4"
5 CATEGORY="graphics"
6 SHORT_DESC="Giblib graphic library."
7 MAINTAINER="mallory@sweetpeople.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://linuxbrit.co.uk/feh/"
11 WGET_URL="http://linuxbrit.co.uk/downloads/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="imlib2 freetype xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext"
15 BUILD_DEPENDS="imlib2-dev imlib2 xorg-xproto freetype-dev xorg-libXext-dev"
17 # Handle cross compilation
18 case "$ARCH" in
19 arm*) export CFLAGS="$CFLAGS -L/cross/$ARCH/sysroot/usr/lib" ;;
20 esac
22 # Rules to configure and make the package.
23 compile_rules()
24 {
26 ./configure \
27 --prefix=/usr \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/lib $fs/usr
39 rm -f $fs/usr/lib/*a
40 }