wok view libxfce4util/receipt @ rev 7739

Added pre_install and post_remove to hd2u.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Dec 20 08:07:07 2010 +0000 (2010-12-20)
parents f165fed5166c
children 47b9b04ee1aa
line source
1 # SliTaz package receipt.
3 PACKAGE="libxfce4util"
4 VERSION="4.6.2"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce Utility library"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="gtk+"
9 BUILD_DEPENDS="gtk+-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.xfce.org"
12 WGET_URL="$WEB_SITE/archive/xfce/$VERSION/src/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr \
19 --infodir=/usr/share/info \
20 --mandir=/usr/share/man $CONFIGURE_ARGS && \
21 make && make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr \
28 $fs/usr/lib \
29 $fs/usr/share/locale
31 cp -a $_pkg/usr/sbin $fs/usr
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
34 }