wok-next view thunar-volman/receipt @ rev 5014
tar: store tar in /bin (like busybox)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 01 13:28:15 2010 +0100 (2010-03-01) |
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 }