wok annotate libxfcegui4/receipt @ rev 19359
Up beautifulsoup (4.5.0)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Jul 31 14:36:33 2016 +0100 (2016-07-31) |
parents | 1b0746e3490c |
children | 6e8b1bcb30e2 |
rev | line source |
---|---|
erjo@2076 | 1 # SliTaz package receipt. |
erjo@2076 | 2 |
erjo@2076 | 3 PACKAGE="libxfcegui4" |
pascal@15334 | 4 VERSION="4.10.0" |
erjo@2076 | 5 CATEGORY="x-window" |
erjo@2076 | 6 SHORT_DESC="Xfce Gtk Widget library" |
erjo@2076 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@14718 | 8 LICENSE="GPL2" |
pascal@14718 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@14718 | 10 WEB_SITE="http://www.xfce.org" |
pascal@14718 | 11 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL" |
pascal@14718 | 12 |
pascal@5003 | 13 DEPENDS="gtk+ libxfce4util xfconf startup-notification dbus-glib libglade" |
erjo@5829 | 14 BUILD_DEPENDS="gtk+-dev libxfce4util-dev xfconf-dev startup-notification-dev |
pankso@12481 | 15 libglade-dev xcb-util-dev intltool util-linux-uuid-dev" |
erjo@2076 | 16 |
erjo@2076 | 17 # Rules to configure and make the package. |
erjo@2076 | 18 compile_rules() |
erjo@2076 | 19 { |
erjo@2076 | 20 cd $src |
pascal@16649 | 21 # xfce_setenv is removed in libxfce4util 4.11.0 |
pascal@16649 | 22 sed -i 's/xfce_setenv/g_setenv/' libxfcegui4/xfce-exec.c |
erjo@2076 | 23 ./configure --prefix=/usr \ |
erjo@2076 | 24 --infodir=/usr/share/info \ |
slaxemulator@8051 | 25 --mandir=/usr/share/man \ |
slaxemulator@8051 | 26 --disable-static \ |
slaxemulator@8051 | 27 --disable-debug \ |
slaxemulator@8051 | 28 $CONFIGURE_ARGS && |
pascal@5003 | 29 make && |
pascal@14718 | 30 make DESTDIR=$DESTDIR install |
erjo@2076 | 31 } |
erjo@2076 | 32 |
erjo@2076 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2076 | 34 genpkg_rules() |
erjo@2076 | 35 { |
erjo@2076 | 36 |
erjo@2076 | 37 mkdir -p $fs/usr/lib \ |
erjo@2076 | 38 $fs/usr/share/locale |
erjo@2076 | 39 |
pascal@14718 | 40 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@14718 | 41 cp -a $install/usr/lib/libglade $fs/usr/lib |
pascal@14718 | 42 cp -a $install/usr/share/locale/fr $fs/usr/share/locale |
pascal@14718 | 43 cp -a $install/usr/share/icons $fs/usr/share |
erjo@2076 | 44 |
erjo@2076 | 45 # Remove SVG icons |
erjo@2076 | 46 rm -rf $fs/usr/share/icons/hicolor/scalable |
erjo@2076 | 47 |
erjo@2076 | 48 } |
erjo@2076 | 49 |