wok view xarchive/receipt @ rev 19727

udisks, upower: update build dependencies.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Feb 17 00:35:01 2017 +0200 (2017-02-17)
parents 055ed706128d
children c365fe17a816
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 }