wok-next annotate libunique/receipt @ rev 11847
busybox: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 27 08:41:10 2012 +0100 (2012-02-27) |
parents | 418686f0c6cd |
children | 6eff489aa802 |
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 |
gokhlayeh@11438 | 18 patch -Np1 -i $stuff/remove_G_CONST_RETURN.patch |
erjo@4760 | 19 ./configure \ |
erjo@4760 | 20 $CONFIGURE_ARGS && |
gokhlayeh@11438 | 21 make && make DESTDIR=$DESTDIR install |
erjo@4760 | 22 } |
erjo@4760 | 23 |
erjo@4760 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4760 | 25 genpkg_rules() |
erjo@4760 | 26 { |
erjo@4760 | 27 mkdir -p $fs/usr/lib |
erjo@4760 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
slaxemulator@7562 | 29 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib |
erjo@4760 | 30 } |
erjo@4760 | 31 |