wok view xarchive/receipt @ rev 18741

Finish to remove redundant messages 'Processing * commands...'; KISS get-msttcorefonts; add get-msttcorefonts2
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 25 15:23:46 2015 +0200 (2015-12-25)
parents 02bbaa9d12ba
children 055ed706128d
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="pkg-config gtk+ gtk+-dev"
18 # Rules to configure and make the package.ls sr
19 compile_rules()
20 {
21 cd $src
22 # patch tar-wrap for busybox tar option
23 [ -f done.slitaz-xarchive-wrappers-0.2.8-6.patch ] || \
24 patch -p1 -i $stuff/slitaz-xarchive-wrappers-0.2.8-6.patch
25 touch done.slitaz-xarchive-wrappers-0.2.8-6.patch
27 ./configure --prefix=/usr --infodir=/usr/share/info \
28 --mandir=/usr/share/man $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib/xarchive/wrappers
38 cp -a $install/usr/bin $fs/usr
39 sed -i 's|#!\s*/bin/bash|#!/bin/sh|' $install/usr/lib/xarchive/wrappers/*
40 cp $stuff/slitaz-wrap.sh $fs/usr/lib/xarchive/wrappers
41 }