wok-next view libnotify/receipt @ rev 17753

galculator: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 09 09:04:34 2015 +0100 (2015-03-09)
parents e1ee172acb7b
children 668e3b18eda4
line source
1 # SliTaz package receipt.
3 PACKAGE="libnotify"
4 VERSION="0.7.6"
5 CATEGORY="utilities"
6 SHORT_DESC="Notification library"
7 MAINTAINER="fabrice.thiroux@free.fr"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.galago-project.org/"
11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="dbus gtk+ dbus-glib xorg-libXdamage"
15 BUILD_DEPENDS="dbus-dev gtk+-dev dbus-glib dbus-glib-dev expat-dev"
17 # Handle cross compilation
18 case "$ARCH" in
19 i?86) BUILD_DEPENDS="$BUILD_DEPENDS perl"
20 esac
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src
26 sed -e 's/REQ_GTK_VERSION=2.90/REQ_GTK_VERSION=2.24/' \
27 -e 's/tests_modules="gtk+-3.0 >= $REQ_GTK_VERSION"/tests_modules="gtk+-2.0 >= $REQ_GTK_VERSION"/' \
28 -i configure
29 ./configure \
30 --disable-static \
31 $CONFIGURE_ARGS &&
32 make && make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 }