wok diff hd2u/receipt @ rev 16573

slitaz-base-files: get ride of /var/run symlink in pre_install
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 02 19:14:33 2014 +0200 (2014-05-02)
parents 8387b6915400
children 9e01bc6321ea
line diff
     1.1 --- a/hd2u/receipt	Mon Jun 11 17:36:31 2012 +0200
     1.2 +++ b/hd2u/receipt	Fri May 02 19:14:33 2014 +0200
     1.3 @@ -5,12 +5,14 @@
     1.4  CATEGORY="misc"
     1.5  SHORT_DESC="Dos2Unix text file converter."
     1.6  MAINTAINER="slaxemulator@gmail.com"
     1.7 -DEPENDS="popt"
     1.8 -BUILD_DEPENDS="popt-dev"
     1.9 +LICENSE="GPL2"
    1.10  TARBALL="$PACKAGE-$VERSION.tgz"
    1.11  WEB_SITE="http://hany.sk/~hany/software/hd2u/"
    1.12  WGET_URL="http://hany.sk/~hany/_data/hd2u/$TARBALL"
    1.13  
    1.14 +DEPENDS="popt"
    1.15 +BUILD_DEPENDS="popt-dev"
    1.16 +
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20 @@ -20,14 +22,14 @@
    1.21  		--infodir=/usr/share/info \
    1.22  		--mandir=/usr/share/man \
    1.23  		$CONFIGURE_ARGS &&
    1.24 -	make && make prefix=$PWD/_pkg/usr install
    1.25 +	make && make prefix=$DESTDIR/usr install
    1.26  }
    1.27  
    1.28  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.29  genpkg_rules()
    1.30  {
    1.31  	mkdir -p $fs/usr
    1.32 -	cp -a $_pkg/usr/bin $fs/usr
    1.33 +	cp -a $install/usr/bin $fs/usr
    1.34  }
    1.35  
    1.36  # Pre and post install commands for Tazpkg.