wok-current view libunique/receipt @ rev 16291
Fix pathon version from last commit
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 07 00:16:55 2014 +0200 (2014-04-07) |
parents | 69c80106a6af |
children | e1ee172acb7b |
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 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://live.gnome.org/LibUnique"
11 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
12 #HOST_ARCH="i486 arm"
14 DEPENDS="cairo gtk+ dbus dbus-glib"
15 BUILD_DEPENDS="cairo-dev gtk+-dev glib-dev dbus-dev dbus-glib-dev expat-dev"
17 case "$ARCH" in
18 i?86) BUILD_DEPENDS="$BUILD_DEPENDS gobject-introspection-dev perl"
19 export CFLAGS="$CFLAGS -Wno-error=unused-but-set-variable"
20 esac
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 patch -Np1 -i $stuff/remove_G_CONST_RETURN.patch
26 ./configure \
27 $CONFIGURE_ARGS &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
37 }