wok annotate libxfce4util/receipt @ rev 15693

linux-lxc: modify post_install() for update /etc/fstab
author Stanislas Leduc <shann@slitaz.org>
date Sat Dec 21 08:40:56 2013 +0100 (2013-12-21)
parents 51b3adb28fd6
children ed01c3d67888
rev   line source
erjo@2076 1 # SliTaz package receipt.
erjo@2076 2
erjo@2076 3 PACKAGE="libxfce4util"
erjo@14823 4 VERSION="4.10.0"
erjo@2076 5 CATEGORY="x-window"
erjo@2076 6 SHORT_DESC="Xfce Utility library"
erjo@2076 7 MAINTAINER="erjo@slitaz.org"
pascal@15004 8 LICENSE="LGPL2"
erjo@2076 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@2076 10 WEB_SITE="http://www.xfce.org"
erjo@8018 11 WGET_URL="http://archive.xfce.org/xfce/${VERSION%.*}/src/$TARBALL"
erjo@2076 12
pascal@14718 13 DEPENDS="gtk+"
pascal@14718 14 BUILD_DEPENDS="gtk+-dev intltool"
pascal@14718 15
erjo@2076 16 # Rules to configure and make the package.
erjo@2076 17 compile_rules()
erjo@2076 18 {
erjo@2076 19 cd $src
erjo@2076 20 ./configure --prefix=/usr \
erjo@2076 21 --infodir=/usr/share/info \
erjo@8018 22 --disable-debug \
erjo@2076 23 --mandir=/usr/share/man $CONFIGURE_ARGS && \
pascal@14718 24 make && make DESTDIR=$DESTDIR install
erjo@2076 25 }
erjo@2076 26
erjo@2076 27 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2076 28 genpkg_rules()
erjo@2076 29 {
erjo@2076 30 mkdir -p $fs/usr \
erjo@2076 31 $fs/usr/lib \
erjo@2076 32 $fs/usr/share/locale
erjo@2076 33
pascal@14718 34 cp -a $install/usr/sbin $fs/usr
pascal@14718 35 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@14718 36 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
erjo@2076 37 }
erjo@2076 38