wok annotate libnotify/receipt @ rev 19712

podofo: disble lua
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 15 17:57:05 2017 +0100 (2017-02-15)
parents da71f20282cc
children 5d79829fa876
rev   line source
erjo@1987 1 # SliTaz package receipt.
erjo@1987 2
erjo@1987 3 PACKAGE="libnotify"
devl547@17594 4 VERSION="0.7.6"
erjo@1987 5 CATEGORY="utilities"
erjo@1987 6 SHORT_DESC="Notification library"
erjo@1987 7 MAINTAINER="fabrice.thiroux@free.fr"
pascal@14714 8 LICENSE="LGPL2.1"
devl547@17594 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
erjo@1987 10 WEB_SITE="http://www.galago-project.org/"
devl547@17594 11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
pankso@16379 12 HOST_ARCH="i486 arm"
erjo@1987 13
pascal@14714 14 DEPENDS="dbus gtk+ dbus-glib xorg-libXdamage"
pankso@16379 15 BUILD_DEPENDS="dbus-dev gtk+-dev dbus-glib dbus-glib-dev expat-dev"
pankso@16379 16
pankso@16379 17 # Handle cross compilation
pankso@16379 18 case "$ARCH" in
pankso@16379 19 i?86) BUILD_DEPENDS="$BUILD_DEPENDS perl"
pankso@16379 20 esac
pascal@14714 21
erjo@1987 22 # Rules to configure and make the package.
erjo@1987 23 compile_rules()
erjo@1987 24 {
al@18948 25 patch -p1 -i $stuff/print-and-replace-id-v3.patch
al@18948 26
devl547@17594 27 sed -e 's/REQ_GTK_VERSION=2.90/REQ_GTK_VERSION=2.24/' \
devl547@17594 28 -e 's/tests_modules="gtk+-3.0 >= $REQ_GTK_VERSION"/tests_modules="gtk+-2.0 >= $REQ_GTK_VERSION"/' \
devl547@17594 29 -i configure
pankso@16379 30 ./configure \
pankso@16379 31 --disable-static \
pankso@16379 32 $CONFIGURE_ARGS &&
pankso@16379 33 make && make install
erjo@1987 34 }
erjo@1987 35
erjo@1987 36 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1987 37 genpkg_rules()
erjo@1987 38 {
al@18948 39 mkdir -p $fs/usr/lib
al@18948 40 cp -a $install/usr/bin $fs/usr
al@18948 41 cp -a $install/usr/lib/*.so* $fs/usr/lib
erjo@1987 42 }