wok-next diff hd2u/receipt @ rev 21018

Nasty typo broke the cooker
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Oct 17 03:59:24 2018 +0300 (2018-10-17)
parents d6ca18366f41
children d5aab818505e
line diff
     1.1 --- a/hd2u/receipt	Mon Dec 21 02:53:09 2015 +0200
     1.2 +++ b/hd2u/receipt	Wed Oct 17 03:59:24 2018 +0300
     1.3 @@ -1,37 +1,24 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="hd2u"
     1.8 -VERSION="1.0.3"
     1.9 +VERSION="1.0.4"
    1.10  CATEGORY="misc"
    1.11 -SHORT_DESC="Dos2Unix text file converter."
    1.12 +SHORT_DESC="Dos2Unix text file converter"
    1.13  MAINTAINER="slaxemulator@gmail.com"
    1.14  LICENSE="GPL2"
    1.15 +WEB_SITE="https://hany.sk/~hany/software/hd2u/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tgz"
    1.18 -WEB_SITE="http://hany.sk/~hany/software/hd2u/"
    1.19 -WGET_URL="http://hany.sk/~hany/_data/hd2u/$TARBALL"
    1.20 +WGET_URL="https://hany.sk/~hany/_data/hd2u/$TARBALL"
    1.21  
    1.22 -DEPENDS="popt"
    1.23 -BUILD_DEPENDS="popt-dev"
    1.24 +compile_rules() {
    1.25 +	./configure $CONFIGURE_ARGS &&
    1.26 +	make &&
    1.27 +	make BUILD_ROOT=$install install || return 1
    1.28  
    1.29 -# Rules to configure and make the package.
    1.30 -compile_rules()
    1.31 -{
    1.32 -	./configure \
    1.33 -		--prefix=/usr \
    1.34 -		--infodir=/usr/share/info \
    1.35 -		--mandir=/usr/share/man \
    1.36 -		$CONFIGURE_ARGS &&
    1.37 -	make && make prefix=$DESTDIR/usr install
    1.38 +	cook_pick_docs README NEWS
    1.39  }
    1.40  
    1.41 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.42 -genpkg_rules()
    1.43 -{
    1.44 -	mkdir -p $fs/usr
    1.45 -	cp -a $install/usr/bin $fs/usr
    1.46 +genpkg_rules() {
    1.47 +	copy @std
    1.48  }
    1.49 -
    1.50 -post_remove()
    1.51 -{
    1.52 -	ln -s /bin/busybox "$1/usr/bin/dos2unix"
    1.53 -}