wok-current annotate 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 |
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" |
pascal@14718 | 8 LICENSE="LGPL2.1" |
slaxemulator@7089 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@4760 | 10 WEB_SITE="http://live.gnome.org/LibUnique" |
slaxemulator@7089 | 11 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
pankso@16271 | 12 #HOST_ARCH="i486 arm" |
erjo@4760 | 13 |
pankso@16271 | 14 DEPENDS="cairo gtk+ dbus dbus-glib" |
pankso@16271 | 15 BUILD_DEPENDS="cairo-dev gtk+-dev glib-dev dbus-dev dbus-glib-dev expat-dev" |
pankso@16271 | 16 |
pankso@16271 | 17 case "$ARCH" in |
pankso@16271 | 18 i?86) BUILD_DEPENDS="$BUILD_DEPENDS gobject-introspection-dev perl" |
pankso@16271 | 19 esac |
pascal@14718 | 20 |
erjo@4760 | 21 # Rules to configure and make the package. |
erjo@4760 | 22 compile_rules() |
erjo@4760 | 23 { |
gokhlayeh@11438 | 24 patch -Np1 -i $stuff/remove_G_CONST_RETURN.patch |
erjo@4760 | 25 ./configure \ |
erjo@4760 | 26 $CONFIGURE_ARGS && |
pankso@16271 | 27 make && make install |
erjo@4760 | 28 } |
erjo@4760 | 29 |
erjo@4760 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4760 | 31 genpkg_rules() |
erjo@4760 | 32 { |
erjo@4760 | 33 mkdir -p $fs/usr/lib |
pascal@14718 | 34 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@14718 | 35 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib |
erjo@4760 | 36 } |
erjo@4760 | 37 |