wok annotate giblib/receipt @ rev 17583

Add: libsecret 0.18
author Alexander Medvedev <devl547@gmail.com>
date Sun Feb 08 19:36:25 2015 +0000 (2015-02-08)
parents de49f29b101e
children f6af821600e6
rev   line source
mallory@1133 1 # SliTaz package receipt
mallory@1133 2
mallory@1133 3 PACKAGE="giblib"
mallory@1133 4 VERSION="1.2.4"
mallory@1133 5 CATEGORY="graphics"
mallory@1133 6 SHORT_DESC="Giblib graphic library."
mallory@1133 7 MAINTAINER="mallory@sweetpeople.org"
pascal@15600 8 LICENSE="MIT"
mallory@1133 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
mallory@1133 10 WEB_SITE="http://linuxbrit.co.uk/feh/"
mallory@1133 11 WGET_URL="http://linuxbrit.co.uk/downloads/$TARBALL"
pankso@16083 12 HOST_ARCH="i486 arm"
mallory@1133 13
pascal@15600 14 DEPENDS="imlib2 freetype xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext"
pascal@15600 15 BUILD_DEPENDS="imlib2-dev imlib2 xorg-xproto freetype-dev xorg-libXext-dev"
pascal@15600 16
pankso@16083 17 # Handle cross compilation
pankso@16083 18 case "$ARCH" in
pankso@16083 19 arm*) export CFLAGS="$CFLAGS -L/cross/$ARCH/sysroot/usr/lib" ;;
pankso@16083 20 esac
pankso@16083 21
mallory@1133 22 # Rules to configure and make the package.
mallory@1133 23 compile_rules()
mallory@1133 24 {
pankso@16083 25
pankso@16083 26 ./configure \
pankso@16083 27 --prefix=/usr \
pankso@16083 28 $CONFIGURE_ARGS &&
pascal@2485 29 make &&
pascal@15600 30 make DESTDIR=$DESTDIR install
mallory@1133 31 }
mallory@1133 32
mallory@1133 33 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@1133 34 genpkg_rules()
mallory@1133 35 {
mallory@1133 36 mkdir -p $fs/usr
pascal@15600 37 cp -a $install/usr/bin $fs/usr
pascal@15600 38 cp -a $install/usr/lib $fs/usr
pascal@1135 39 rm -f $fs/usr/lib/*a
mallory@1133 40 }