wok-6.x annotate xarchiver/receipt @ rev 16743

Add arp-scan
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 12 08:58:34 2014 +0200 (2014-06-12)
parents 089deafb463e
children 40f65f328312
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"
pascal@15579 8 LICENSE="GPL2"
erjo@4156 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@4156 10 WEB_SITE="http://xarchiver.sourceforge.net/"
erjo@4156 11 WGET_URL="http://downloads.sourceforge.net/project/xarchiver/xarchiver/$VERSION/$TARBALL"
erjo@4156 12
pascal@15579 13 DEPENDS="gtk+ tar"
pascal@15579 14 BUILD_DEPENDS="gtk+-dev"
pascal@15579 15
erjo@4156 16 # Rules to configure and make the package.
erjo@4156 17 compile_rules()
erjo@4156 18 {
erjo@4156 19 cd $src
erjo@4156 20 ./configure \
erjo@4156 21 --prefix=/usr \
erjo@4877 22 --libexecdir=/usr/lib \
erjo@4156 23 $CONFIGURE_ARGS &&
pascal@15579 24 make && make DESTDIR=$DESTDIR install
erjo@4156 25 }
erjo@4156 26
erjo@4156 27 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4156 28 genpkg_rules()
erjo@4156 29 {
erjo@4156 30 mkdir -p $fs/usr/share/locale
pascal@15579 31 cp -a $install/usr/bin $fs/usr
pascal@15579 32 cp -a $install/usr/lib $fs/usr
pascal@15579 33 cp -a $install/usr/share/pixmaps $fs/usr/share
pascal@15579 34 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
pascal@15579 35 cp -a $install/usr/share/applications $fs/usr/share
pascal@15579 36 cp -a $install/usr/share/icons $fs/usr/share
erjo@4156 37
erjo@4877 38 chmod 755 $fs/usr/lib/thunar-archive-plugin/*
erjo@4713 39 rm -rf $fs/usr/share/icons/hicolor/scalable
erjo@4156 40 }
erjo@4156 41