wok annotate libunique/receipt @ rev 6439

add patch: no pwd for halt/reboot/hibernate option
author xfred@localhost
date Mon Sep 27 21:59:43 2010 +0000 (2010-09-27)
parents f3f04d197875
children b2f3d02bf16d
rev   line source
erjo@4760 1 # SliTaz package receipt.
erjo@4760 2
slaxemulator@6318 3
erjo@4760 4 PACKAGE="libunique"
slaxemulator@6288 5 VERSION="1.1.6"
erjo@4760 6 CATEGORY="development"
erjo@4760 7 SHORT_DESC="Library for writing single instance application."
erjo@4760 8 MAINTAINER="erjo@slitaz.org"
pankso@5337 9 DEPENDS="gtk+ cairo dbus-glib"
slaxemulator@6288 10 BUILD_DEPENDS="pkg-config gtk+-dev glib-dev perl expat-dev"
erjo@4760 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@4760 12 WEB_SITE="http://live.gnome.org/LibUnique"
erjo@4760 13 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/libunique/${VERSION%.*}/$TARBALL"
erjo@4760 14
erjo@4760 15 # Rules to configure and make the package.
erjo@4760 16 compile_rules()
erjo@4760 17 {
erjo@4760 18 cd $src
erjo@4760 19 ./configure \
erjo@4760 20 --prefix=/usr \
erjo@4760 21 --infodir=/usr/share/info \
erjo@4760 22 --mandir=/usr/share/man \
erjo@4760 23 $CONFIGURE_ARGS &&
erjo@4760 24 make && make DESTDIR=$PWD/_pkg install
erjo@4760 25 }
erjo@4760 26
erjo@4760 27 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4760 28 genpkg_rules()
erjo@4760 29 {
erjo@4760 30 mkdir -p $fs/usr/lib
erjo@4760 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
erjo@4760 32 }
erjo@4760 33