wok-next view xarchive/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | d6378d455338 |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://xarchive.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="gtk2-dev"
16 compile_rules() {
17 ./configure \
18 --prefix=/usr \
19 --infodir=/usr/share/info \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 genpkg_rules() {
27 mkdir -p $fs/usr/lib/xarchive/wrappers
28 cp -a $install/usr/bin $fs/usr
29 sed -i 's|#!\s*/bin/bash|#!/bin/sh|' $install/usr/lib/xarchive/wrappers/*
30 cp $stuff/slitaz-wrap.sh $fs/usr/lib/xarchive/wrappers
31 DEPENDS="gtk2 xorg-libXdamage"
32 SUGGESTED="zip rar unace arj lha p7zip lzop linux-squashfs cromfs \
33 cabextract xz lrzip"
34 }