wok-6.x diff partimage/receipt @ rev 17358

Add asterisk-speech-recog
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 18 21:43:05 2014 +0100 (2014-11-18)
parents c1549ac89096
children 49a446459762
line diff
     1.1 --- a/partimage/receipt	Tue May 15 11:02:13 2012 +0200
     1.2 +++ b/partimage/receipt	Tue Nov 18 21:43:05 2014 +0100
     1.3 @@ -5,12 +5,14 @@
     1.4  CATEGORY="system-tools"
     1.5  SHORT_DESC="Saves partitions in an image file."
     1.6  MAINTAINER="erjo@slitaz.org"
     1.7 -DEPENDS="newt bzip2 openssl slitaz-base-files zlib gcc-lib-base"
     1.8 -BUILD_DEPENDS="newt newt-dev slang-dev bzip2-dev openssl-dev zlib-dev"
     1.9 +LICENSE="GPL2"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.11  WEB_SITE="http://www.partimage.org/Index.fr.html"
    1.12  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.13  
    1.14 +DEPENDS="newt bzip2 openssl slitaz-base-files zlib gcc-lib-base"
    1.15 +BUILD_DEPENDS="newt newt-dev slang-dev bzip2-dev openssl-dev zlib-dev"
    1.16 +
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {	
    1.20 @@ -22,15 +24,15 @@
    1.21  	 --infodir=/usr/share/info \
    1.22  	 --mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.23  	make &&
    1.24 -	make DESTDIR=$PWD/_pkg install
    1.25 +	make DESTDIR=$DESTDIR 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 $fs/etc/init.d $fs/var/lib/partimaged
    1.32 -	cp -a $_pkg/usr/sbin $fs/usr
    1.33 -	cp -a $_pkg/etc $fs/
    1.34 +	cp -a $install/usr/sbin $fs/usr
    1.35 +	cp -a $install/etc $fs/
    1.36  	install -g root -o root -m 0600 stuff/etc/partimaged/partimaged.* $fs/etc/partimaged
    1.37  	install -g root -o root -m 0755 stuff/etc/init.d/partimaged $fs/etc/init.d
    1.38  }