wok annotate libunique/receipt @ rev 18903
tazpanel: update depends
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Feb 19 16:05:45 2016 +0200 (2016-02-19) |
parents | 6f0f8b6fe487 |
children | eeba7ab1dffe |
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@16379 | 12 HOST_ARCH="i486 arm" |
erjo@4760 | 13 |
pankso@16379 | 14 DEPENDS="cairo gtk+" |
pankso@16379 | 15 BUILD_DEPENDS="cairo-dev gtk+-dev glib-dev expat-dev" |
pankso@16271 | 16 |
pankso@16271 | 17 case "$ARCH" in |
pankso@16379 | 18 i?86) |
pankso@16379 | 19 BUILD_DEPENDS="$BUILD_DEPENDS gobject-introspection-dev perl" |
pascal@16285 | 20 export CFLAGS="$CFLAGS -Wno-error=unused-but-set-variable" |
pankso@16271 | 21 esac |
pascal@14718 | 22 |
erjo@4760 | 23 # Rules to configure and make the package. |
erjo@4760 | 24 compile_rules() |
erjo@4760 | 25 { |
pankso@16379 | 26 patch -Np1 -i $stuff/remove_G_CONST_RETURN.patch || return 1 |
erjo@4760 | 27 ./configure \ |
pankso@16379 | 28 --disable-dbus \ |
erjo@4760 | 29 $CONFIGURE_ARGS && |
pankso@16271 | 30 make && make install |
erjo@4760 | 31 } |
erjo@4760 | 32 |
erjo@4760 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4760 | 34 genpkg_rules() |
erjo@4760 | 35 { |
erjo@4760 | 36 mkdir -p $fs/usr/lib |
pascal@14718 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
erjo@4760 | 38 } |
erjo@4760 | 39 |