wok-current annotate libnotify/receipt @ rev 18633

libmms: apply patch
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 27 00:31:34 2015 +0200 (2015-11-27)
parents e1ee172acb7b
children 668e3b18eda4
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 {
devl547@17594 25 cd $src
devl547@17594 26 sed -e 's/REQ_GTK_VERSION=2.90/REQ_GTK_VERSION=2.24/' \
devl547@17594 27 -e 's/tests_modules="gtk+-3.0 >= $REQ_GTK_VERSION"/tests_modules="gtk+-2.0 >= $REQ_GTK_VERSION"/' \
devl547@17594 28 -i configure
pankso@16379 29 ./configure \
pankso@16379 30 --disable-static \
pankso@16379 31 $CONFIGURE_ARGS &&
pankso@16379 32 make && make install
erjo@1987 33 }
erjo@1987 34
erjo@1987 35 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1987 36 genpkg_rules()
erjo@1987 37 {
erjo@1987 38 mkdir -p $fs/usr/lib
pascal@14714 39 cp -a $install/usr/bin $fs/usr
pascal@14714 40 cp -a $install/usr/lib/*.so* $fs/usr/lib
erjo@1987 41 }