wok-next annotate libunique/receipt @ rev 16285
libunique: add cflags
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 06 18:57:04 2014 +0000 (2014-04-06) |
parents | 69c80106a6af |
children | e1ee172acb7b |
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 |
pascal@16285 | 18 i?86) BUILD_DEPENDS="$BUILD_DEPENDS gobject-introspection-dev perl" |
pascal@16285 | 19 export CFLAGS="$CFLAGS -Wno-error=unused-but-set-variable" |
pankso@16271 | 20 esac |
pascal@14718 | 21 |
erjo@4760 | 22 # Rules to configure and make the package. |
erjo@4760 | 23 compile_rules() |
erjo@4760 | 24 { |
gokhlayeh@11438 | 25 patch -Np1 -i $stuff/remove_G_CONST_RETURN.patch |
erjo@4760 | 26 ./configure \ |
erjo@4760 | 27 $CONFIGURE_ARGS && |
pankso@16271 | 28 make && make install |
erjo@4760 | 29 } |
erjo@4760 | 30 |
erjo@4760 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4760 | 32 genpkg_rules() |
erjo@4760 | 33 { |
erjo@4760 | 34 mkdir -p $fs/usr/lib |
pascal@14718 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@14718 | 36 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib |
erjo@4760 | 37 } |
erjo@4760 | 38 |