wok-next annotate libunique/receipt @ rev 9259

Use SOURCE to define tarball properly (thanks Godane)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Mar 15 03:39:52 2011 +0100 (2011-03-15)
parents b2f3d02bf16d
children 4e1886a70bc2
rev   line source
erjo@4760 1 # SliTaz package receipt.
erjo@4760 2
erjo@4760 3 PACKAGE="libunique"
slaxemulator@6288 4 VERSION="1.1.6"
erjo@4760 5 CATEGORY="development"
erjo@4760 6 SHORT_DESC="Library for writing single instance application."
erjo@4760 7 MAINTAINER="erjo@slitaz.org"
pankso@5337 8 DEPENDS="gtk+ cairo dbus-glib"
slaxemulator@7562 9 BUILD_DEPENDS="pkg-config gtk+-dev glib-dev gobject-introspection-dev perl expat-dev"
slaxemulator@7089 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@4760 11 WEB_SITE="http://live.gnome.org/LibUnique"
slaxemulator@7089 12 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
erjo@4760 13
erjo@4760 14 # Rules to configure and make the package.
erjo@4760 15 compile_rules()
erjo@4760 16 {
erjo@4760 17 cd $src
erjo@4760 18 ./configure \
erjo@4760 19 --prefix=/usr \
erjo@4760 20 --infodir=/usr/share/info \
erjo@4760 21 --mandir=/usr/share/man \
erjo@4760 22 $CONFIGURE_ARGS &&
erjo@4760 23 make && make DESTDIR=$PWD/_pkg install
erjo@4760 24 }
erjo@4760 25
erjo@4760 26 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4760 27 genpkg_rules()
erjo@4760 28 {
erjo@4760 29 mkdir -p $fs/usr/lib
erjo@4760 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
slaxemulator@7562 31 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
erjo@4760 32 }
erjo@4760 33