wok-6.x annotate xarchive/receipt @ rev 11379

Compat: ensure that ncurses-man are installed at the right place
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Dec 10 03:52:27 2011 +0100 (2011-12-10)
parents 940b5937e496
children eb8067417980
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"
pascal@4954 11 SUGGESTED="zip rar unace arj lha p7zip lzop linux-squashfs cromfs cabextract \
pascal@4954 12 xz lrzip"
erjo@484 13 WEB_SITE="http://xarchive.sourceforge.net/"
pascal@688 14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
erjo@484 15
erjo@484 16 # Rules to configure and make the package.ls sr
erjo@484 17 compile_rules()
erjo@484 18 {
erjo@484 19 cd $src
erjo@484 20 # patch tar-wrap for busybox tar option
pascal@1462 21 [ -f done.slitaz-xarchive-wrappers-0.2.8-6.patch ] || \
pascal@8974 22 patch -p1 -i $stuff/slitaz-xarchive-wrappers-0.2.8-6.patch
pascal@1462 23 touch done.slitaz-xarchive-wrappers-0.2.8-6.patch
erjo@484 24
erjo@484 25 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@1462 26 --mandir=/usr/share/man $CONFIGURE_ARGS &&
erjo@484 27
pascal@1462 28 make &&
erjo@484 29 make DESTDIR=$PWD/_pkg install
erjo@484 30 }
erjo@484 31
erjo@484 32 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@484 33 genpkg_rules()
erjo@484 34 {
erjo@484 35 mkdir -p $fs/usr/lib/xarchive/wrappers
erjo@484 36 cp -a $_pkg/usr/bin $fs/usr
erjo@484 37 sed -i 's|#!\s*/bin/bash|#!/bin/sh|' $_pkg/usr/lib/xarchive/wrappers/*
pascal@8974 38 cp $stuff/slitaz-wrap.sh $fs/usr/lib/xarchive/wrappers
erjo@484 39 }
erjo@484 40