wok annotate xarchive/receipt @ rev 2528

x*: update depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 16 22:48:55 2009 +0000 (2009-03-16)
parents 52dc4b48ed81
children d1d5df9b017e
rev   line source
erjo@484 1 # SliTaz package receipt.
erjo@484 2
erjo@484 3 PACKAGE="xarchive"
erjo@484 4 VERSION="0.2.8-6"
pascal@741 5 CATEGORY="x-window"
erjo@484 6 SHORT_DESC="A GTK+ front-end for command line archiving tools."
erjo@784 7 MAINTAINER="erjo@slitaz.org"
erjo@484 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@2528 9 DEPENDS="gtk+ xorg-libXdamage"
pascal@1514 10 BUILD_DEPENDS="pkg-config gtk+ gtk+-dev"
erjo@484 11 WEB_SITE="http://xarchive.sourceforge.net/"
pascal@688 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
erjo@484 13
erjo@484 14 # Rules to configure and make the package.ls sr
erjo@484 15 compile_rules()
erjo@484 16 {
erjo@484 17 cd $src
erjo@484 18 # patch tar-wrap for busybox tar option
pascal@1462 19 [ -f done.slitaz-xarchive-wrappers-0.2.8-6.patch ] || \
erjo@484 20 patch -p1 -i ../stuff/slitaz-xarchive-wrappers-0.2.8-6.patch
pascal@1462 21 touch done.slitaz-xarchive-wrappers-0.2.8-6.patch
erjo@484 22
erjo@484 23 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@1462 24 --mandir=/usr/share/man $CONFIGURE_ARGS &&
erjo@484 25
pascal@1462 26 make &&
erjo@484 27 make DESTDIR=$PWD/_pkg install
erjo@484 28 }
erjo@484 29
erjo@484 30 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@484 31 genpkg_rules()
erjo@484 32 {
erjo@484 33 mkdir -p $fs/usr/lib/xarchive/wrappers
erjo@484 34 cp -a $_pkg/usr/bin $fs/usr
erjo@484 35 sed -i 's|#!\s*/bin/bash|#!/bin/sh|' $_pkg/usr/lib/xarchive/wrappers/*
pascal@688 36 cp stuff/slitaz-wrap.sh $fs/usr/lib/xarchive/wrappers
erjo@484 37 strip -s $fs/usr/bin/*
erjo@484 38 }
erjo@484 39