wok view libunique/receipt @ rev 16271

ARM: add gmpc with needed libs
author Christophe Lincoln <pankso@slitaz.org>
date Sat Apr 05 22:48:39 2014 +0200 (2014-04-05)
parents 6eff489aa802
children 6f0f8b6fe487
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 esac
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 patch -Np1 -i $stuff/remove_G_CONST_RETURN.patch
25 ./configure \
26 $CONFIGURE_ARGS &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
36 }