wok annotate thunar-volman/receipt @ rev 8063

Various modifications to xfce4/thunar packages
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Jan 21 00:44:33 2011 +0100 (2011-01-21)
parents 0874004b631d
children 1414fab16d56
rev   line source
erjo@2072 1 # SliTaz package receipt.
erjo@2072 2
erjo@2072 3 PACKAGE="thunar-volman"
gokhlayeh@8063 4 VERSION="0.6.0"
erjo@2072 5 CATEGORY="x-window"
erjo@4145 6 SHORT_DESC="Thunar Volume Manager plugin"
erjo@2072 7 MAINTAINER="erjo@slitaz.org"
gokhlayeh@8063 8 DEPENDS="thunar"
gokhlayeh@8039 9 BUILD_DEPENDS="thunar-dev glibc-locale intltool"
erjo@2072 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@2072 11 WEB_SITE="http://foo-projects.org/~benny/projects/thunar-archive-plugin/index.html"
gokhlayeh@8063 12 WGET_URL="http://archive.xfce.org/src/apps/$PACKAGE/0.6/$TARBALL"
erjo@2072 13
erjo@2072 14 # Rules to configure and make the package.
erjo@2072 15 compile_rules()
erjo@2072 16 {
erjo@2072 17 cd $src
erjo@2072 18 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@4234 19 --libexecdir=/usr/lib/$PACKAGE \
erjo@2072 20 --mandir=/usr/share/man $CONFIGURE_ARGS && \
erjo@2072 21 make && make DESTDIR=$PWD/_pkg install
erjo@2072 22 }
erjo@2072 23
erjo@2072 24 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2072 25 genpkg_rules()
erjo@2072 26 {
pascal@4234 27 mkdir -p $fs/usr/share/locale $fs/usr/lib
erjo@2072 28
erjo@2072 29 cp -a $_pkg/usr/bin $fs/usr
pascal@4234 30 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
erjo@2072 31 cp -a $_pkg/usr/share/applications $fs/usr/share
erjo@2072 32 cp -a $_pkg/usr/share/icons $fs/usr/share
erjo@2072 33 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
erjo@4873 34
erjo@4873 35 # Fixe perms
pascal@4234 36 chmod 0755 $fs/usr/lib/$PACKAGE/thunar-*
erjo@4873 37
erjo@4873 38 # Strip evrythings
erjo@4873 39 find $fs/usr/lib/ -exec strip -s {} 2> /dev/null \;
erjo@2072 40 }
erjo@2072 41