wok annotate libxfce4ui/receipt @ rev 8015

add libxfce4ui, libxfce4ui-dev
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Jan 20 02:07:47 2011 +0100 (2011-01-20)
parents
children 6facb6774f54
rev   line source
erjo@8015 1 # SliTaz package receipt.
erjo@8015 2
erjo@8015 3 PACKAGE="libxfce4ui"
erjo@8015 4 VERSION="4.8.0"
erjo@8015 5 CATEGORY="x-window"
erjo@8015 6 SHORT_DESC="Xfce Gtk Widget library"
erjo@8015 7 MAINTAINER="erjo@slitaz.org"
erjo@8015 8 DEPENDS="gtk+ libxfce4util xfconf startup-notification dbus-glib libglade util-linux-ng-uuid"
erjo@8015 9 BUILD_DEPENDS="gtk+-dev libxfce4util-dev xfconf-dev startup-notification-dev
erjo@8015 10 libglade-dev xcb-util-dev util-linux-ng-uuid-dev"
erjo@8015 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@8015 12 WEB_SITE="http://www.xfce.org"
erjo@8015 13 WGET_URL="http://archive.xfce.org/xfce/${VERSION%.*}/src/$TARBALL"
erjo@8015 14
erjo@8015 15
erjo@8015 16 # Rules to configure and make the package.
erjo@8015 17 compile_rules()
erjo@8015 18 {
erjo@8015 19 cd $src
erjo@8015 20 ./configure --prefix=/usr \
erjo@8015 21 --infodir=/usr/share/info \
erjo@8015 22 --sysconfdir=/etc \
erjo@8015 23 --disable-debug \
erjo@8015 24 --mandir=/usr/share/man $CONFIGURE_ARGS &&
erjo@8015 25 make &&
erjo@8015 26 make DESTDIR=$PWD/_pkg install
erjo@8015 27 }
erjo@8015 28
erjo@8015 29 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@8015 30 genpkg_rules()
erjo@8015 31 {
erjo@8015 32
erjo@8015 33 mkdir -p $fs/usr/lib \
erjo@8015 34 $fs/usr/share/locale
erjo@8015 35
erjo@8015 36
erjo@8015 37 cp -a $_pkg/etc $fs/
erjo@8015 38 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
erjo@8015 39 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
erjo@8015 40 # cp -a $_pkg/usr/share/icons $fs/usr/share
erjo@8015 41
erjo@8015 42 # Remove SVG icons
erjo@8015 43 # rm -rf $fs/usr/share/icons/hicolor/scalable
erjo@8015 44
erjo@8015 45 }
erjo@8015 46