wok-6.x annotate libunique/receipt @ rev 20681
Down cdrtools (3.00) again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 26 17:03:55 2019 +0100 (2019-01-26) |
parents | e1ee172acb7b |
children | 5d79829fa876 |
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" |
pascal@20674 | 10 WEB_SITE="https://wiki.gnome.org/Attic/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 |