wok-next diff xarchive/receipt @ rev 19365

bwm-ng: add bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 03 14:21:25 2016 +0200 (2016-08-03)
parents 02bbaa9d12ba
children 055ed706128d
line diff
     1.1 --- a/xarchive/receipt	Mon Apr 04 01:29:52 2011 +0200
     1.2 +++ b/xarchive/receipt	Wed Aug 03 14:21:25 2016 +0200
     1.3 @@ -5,14 +5,16 @@
     1.4  CATEGORY="x-window"
     1.5  SHORT_DESC="A GTK+ front-end for command line archiving tools."
     1.6  MAINTAINER="erjo@slitaz.org"
     1.7 +LICENSE="GPL2"
     1.8  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.9 -DEPENDS="gtk+ xorg-libXdamage"
    1.10 -BUILD_DEPENDS="pkg-config gtk+ gtk+-dev"
    1.11  SUGGESTED="zip rar unace arj lha p7zip lzop linux-squashfs cromfs cabextract \
    1.12  xz lrzip"
    1.13  WEB_SITE="http://xarchive.sourceforge.net/"
    1.14  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.15  
    1.16 +DEPENDS="gtk+ xorg-libXdamage"
    1.17 +BUILD_DEPENDS="pkg-config gtk+ gtk+-dev"
    1.18 +
    1.19  # Rules to configure and make the package.ls sr	
    1.20  compile_rules()
    1.21  {
    1.22 @@ -26,15 +28,15 @@
    1.23  	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.24  
    1.25  	make &&
    1.26 -	make DESTDIR=$PWD/_pkg install
    1.27 +	make DESTDIR=$DESTDIR install
    1.28  }
    1.29  
    1.30  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.31  genpkg_rules()
    1.32  {
    1.33  	mkdir -p $fs/usr/lib/xarchive/wrappers
    1.34 -	cp -a $_pkg/usr/bin $fs/usr
    1.35 -	sed -i 's|#!\s*/bin/bash|#!/bin/sh|' $_pkg/usr/lib/xarchive/wrappers/*
    1.36 +	cp -a $install/usr/bin $fs/usr
    1.37 +	sed -i 's|#!\s*/bin/bash|#!/bin/sh|' $install/usr/lib/xarchive/wrappers/*
    1.38  	cp $stuff/slitaz-wrap.sh $fs/usr/lib/xarchive/wrappers
    1.39  }
    1.40