wok-current view thunar-volman/receipt @ rev 5447

linmodem-intel-536ep: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 05 13:17:38 2010 +0200 (2010-05-05)
parents c219069ab084
children 0874004b631d
line source
1 # SliTaz package receipt.
3 PACKAGE="thunar-volman"
4 VERSION="0.3.80"
5 CATEGORY="x-window"
6 SHORT_DESC="Thunar Volume Manager plugin"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="thunar gamin"
9 BUILD_DEPENDS="thunar-dev glibc-locale"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://foo-projects.org/~benny/projects/thunar-archive-plugin/index.html"
12 WGET_URL="http://goodies.xfce.org/releases/thunar-volman/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --libexecdir=/usr/lib/$PACKAGE \
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/share/locale $fs/usr/lib
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
31 cp -a $_pkg/usr/share/applications $fs/usr/share
32 cp -a $_pkg/usr/share/icons $fs/usr/share
33 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
35 # Fixe perms
36 chmod 0755 $fs/usr/lib/$PACKAGE/thunar-*
38 # Strip evrythings
39 find $fs/usr/lib/ -exec strip -s {} 2> /dev/null \;
40 }