wok-next view 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 |
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 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make && make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
32 }