wok-6.x diff partimage-pam/receipt @ rev 15771

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