wok-next view xarchive/receipt @ rev 20983

Small updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Sep 28 13:48:52 2018 +0300 (2018-09-28)
parents d43bf7aae921
children f48456621a9d
line source
1 # SliTaz package receipt.
3 PACKAGE="xarchive"
4 VERSION="0.2.8-6"
5 CATEGORY="x-window"
6 SHORT_DESC="A GTK+ front-end for command line archiving tools."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 SUGGESTED="zip rar unace arj lha p7zip lzop linux-squashfs cromfs cabextract \
11 xz lrzip"
12 WEB_SITE="http://xarchive.sourceforge.net/"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 DEPENDS="gtk+ xorg-libXdamage"
16 BUILD_DEPENDS="gtk+-dev"
18 # Rules to configure and make the package.ls sr
19 compile_rules()
20 {
21 ./configure --prefix=/usr --infodir=/usr/share/info \
22 --mandir=/usr/share/man $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib/xarchive/wrappers
32 cp -a $install/usr/bin $fs/usr
33 sed -i 's|#!\s*/bin/bash|#!/bin/sh|' $install/usr/lib/xarchive/wrappers/*
34 cp $stuff/slitaz-wrap.sh $fs/usr/lib/xarchive/wrappers
35 }