wok-next diff threaded-samba-scanner/receipt @ rev 21103

emacs: depends on emacs-common
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jan 03 11:21:15 2019 +0200 (2019-01-03)
parents f4c22f009037
children 69bb65a67c90
line diff
     1.1 --- a/threaded-samba-scanner/receipt	Sat Sep 07 18:25:02 2013 +0000
     1.2 +++ b/threaded-samba-scanner/receipt	Thu Jan 03 11:21:15 2019 +0200
     1.3 @@ -1,28 +1,22 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="threaded-samba-scanner"
     1.8  VERSION="3.6"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="A very fast samba scanner."
    1.11 +SHORT_DESC="A very fast samba scanner"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL3"
    1.14 +WEB_SITE="http://dalalven.dtdns.net/linux/gadmintools-webpage/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://dalalven.dtdns.net/linux/gadmintools-webpage/"
    1.18  WGET_URL="http://dalalven.dtdns.net/linux/$PACKAGE/$TARBALL"
    1.19  
    1.20 -DEPENDS="smbclient"
    1.21 -BUILD_DEPENDS=""
    1.22 -
    1.23 -
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 -	make
    1.28 +compile_rules() {
    1.29 +	make &&
    1.30 +	install -Dm755 $src/$PACKAGE $install/usr/bin/$PACKAGE
    1.31  }
    1.32  
    1.33 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 -genpkg_rules()
    1.35 -{
    1.36 -	mkdir -p $fs/usr/bin
    1.37 -	cp $src/threaded-samba-scanner $fs/usr/bin
    1.38 +genpkg_rules() {
    1.39 +	copy @std
    1.40 +	DEPENDS="smbclient"
    1.41  }