wok-next annotate xarchive/receipt @ rev 21724

busybox: update configs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 11:04:25 2020 +0000 (2020-09-01)
parents d5aab818505e
children
rev   line source
al@21017 1 # SliTaz package receipt v2.
erjo@484 2
erjo@484 3 PACKAGE="xarchive"
erjo@484 4 VERSION="0.2.8-6"
pascal@741 5 CATEGORY="x-window"
al@21017 6 SHORT_DESC="A GTK+ front-end for command line archiving tools"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15579 8 LICENSE="GPL2"
al@21017 9 WEB_SITE="http://xarchive.sourceforge.net/"
al@21017 10
erjo@484 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@688 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
erjo@484 13
al@21017 14 BUILD_DEPENDS="gtk2-dev"
pascal@15579 15
al@21017 16 compile_rules() {
al@21017 17 ./configure \
al@21017 18 --prefix=/usr \
al@21017 19 --infodir=/usr/share/info \
al@21017 20 --mandir=/usr/share/man \
al@21017 21 $CONFIGURE_ARGS &&
pascal@1462 22 make &&
al@21020 23 make DESTDIR=$install install
erjo@484 24 }
erjo@484 25
al@21017 26 genpkg_rules() {
erjo@484 27 mkdir -p $fs/usr/lib/xarchive/wrappers
pascal@15579 28 cp -a $install/usr/bin $fs/usr
pascal@15579 29 sed -i 's|#!\s*/bin/bash|#!/bin/sh|' $install/usr/lib/xarchive/wrappers/*
pascal@8974 30 cp $stuff/slitaz-wrap.sh $fs/usr/lib/xarchive/wrappers
al@21078 31 DEPENDS="gtk2 libxdamage"
al@21017 32 SUGGESTED="zip rar unace arj lha p7zip lzop linux-squashfs cromfs \
al@21017 33 cabextract xz lrzip"
erjo@484 34 }