wok-current view libunique/receipt @ rev 14169

Add libnfc
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 08 12:16:44 2013 +0100 (2013-03-08)
parents 418686f0c6cd
children 6eff489aa802
line source
1 # SliTaz package receipt.
3 PACKAGE="libunique"
4 VERSION="1.1.6"
5 CATEGORY="development"
6 SHORT_DESC="Library for writing single instance application."
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="gtk+ cairo dbus-glib"
9 BUILD_DEPENDS="pkg-config gtk+-dev glib-dev gobject-introspection-dev perl expat-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://live.gnome.org/LibUnique"
12 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 patch -Np1 -i $stuff/remove_G_CONST_RETURN.patch
19 ./configure \
20 $CONFIGURE_ARGS &&
21 make && make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
30 }