wok view giblib/receipt @ rev 20194

Up autofs (5.1.4), btrfs-progs (4.15), cifs-utils (6.7), davfs2 (1.5.4), dosfstools (4.1), e2fsprogs (1.43.9), f2fs-tools (1.10.0), moosefs (3.0.100), milfs-utils (2.2.7), owfs (3.2p1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 12 13:54:33 2018 +0100 (2018-02-12)
parents 6d8a4be89f3d
children e3f377fbc5f0
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 {
25 sed -i 's|/doc|/share&|' Makefile*
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 }