wok annotate xarchiver/receipt @ rev 9822
hubbub: fix TARBALL
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 15 04:16:00 2011 +0200 (2011-05-15) |
parents | 77aec339c31c |
children | eb8067417980 |
rev | line source |
---|---|
erjo@4156 | 1 # SliTaz package receipt. |
erjo@4156 | 2 |
erjo@4156 | 3 PACKAGE="xarchiver" |
erjo@4156 | 4 VERSION="0.5.2" |
erjo@4156 | 5 CATEGORY="x-window" |
erjo@4156 | 6 SHORT_DESC="Archive manager for thunar" |
erjo@4156 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@5169 | 8 DEPENDS="gtk+ tar" |
erjo@4156 | 9 BUILD_DEPENDS="gtk+-dev" |
erjo@4156 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@4156 | 11 WEB_SITE="http://xarchiver.sourceforge.net/" |
erjo@4156 | 12 WGET_URL="http://downloads.sourceforge.net/project/xarchiver/xarchiver/$VERSION/$TARBALL" |
erjo@4156 | 13 |
erjo@4156 | 14 # Rules to configure and make the package. |
erjo@4156 | 15 compile_rules() |
erjo@4156 | 16 { |
erjo@4156 | 17 cd $src |
erjo@4156 | 18 ./configure \ |
erjo@4156 | 19 --prefix=/usr \ |
erjo@4877 | 20 --libexecdir=/usr/lib \ |
erjo@4156 | 21 $CONFIGURE_ARGS && |
erjo@4156 | 22 make && make DESTDIR=$PWD/_pkg install |
erjo@4156 | 23 } |
erjo@4156 | 24 |
erjo@4156 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4156 | 26 genpkg_rules() |
erjo@4156 | 27 { |
erjo@4156 | 28 mkdir -p $fs/usr/share/locale |
erjo@4156 | 29 cp -a $_pkg/usr/bin $fs/usr |
erjo@4713 | 30 cp -a $_pkg/usr/lib $fs/usr |
erjo@4156 | 31 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
erjo@4156 | 32 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
erjo@4156 | 33 cp -a $_pkg/usr/share/applications $fs/usr/share |
erjo@4156 | 34 cp -a $_pkg/usr/share/icons $fs/usr/share |
erjo@4156 | 35 |
erjo@4877 | 36 chmod 755 $fs/usr/lib/thunar-archive-plugin/* |
erjo@4713 | 37 rm -rf $fs/usr/share/icons/hicolor/scalable |
erjo@4156 | 38 } |
erjo@4156 | 39 |