wok-6.x rev 9902

parted: fix bdeps
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 17 13:38:44 2011 +0200 (2011-05-17)
parents 086636bf9f9d
children 934feaca597b
files parted/receipt
line diff
     1.1 --- a/parted/receipt	Tue May 17 13:36:31 2011 +0200
     1.2 +++ b/parted/receipt	Tue May 17 13:38:44 2011 +0200
     1.3 @@ -5,12 +5,13 @@
     1.4  CATEGORY="system-tools"
     1.5  SHORT_DESC="GNU parted partition editor."
     1.6  MAINTAINER="pankso@slitaz.org"
     1.7 -DEPENDS="util-linux-ng-uuid"
     1.8 -BUILD_DEPENDS="e2fsprogs-dev util-linux-ng-uuid-dev"
     1.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.10  WEB_SITE="http://www.gnu.org/software/parted/index.shtml"
    1.11  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.12  
    1.13 +DEPENDS="util-linux-ng-uuid util-linux-ng-blkid"
    1.14 +BUILD_DEPENDS="e2fsprogs-dev util-linux-ng-uuid-dev util-linux-ng-blkid-dev"
    1.15 +
    1.16  # Rules to configure and make the package.
    1.17  compile_rules()
    1.18  {
    1.19 @@ -19,24 +20,17 @@
    1.20  	sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
    1.21  		libparted/arch/linux.c
    1.22  	./configure \
    1.23 -		--prefix=/usr \
    1.24 -		--infodir=/usr/share/info \
    1.25 -		--mandir=/usr/share/man \
    1.26  		--disable-debug \
    1.27  		--disable-Werror \
    1.28  		--without-readline \
    1.29 -		--disable-device-mapper \
    1.30 -		$CONFIGURE_ARGS &&
    1.31 -	make &&
    1.32 -	make DESTDIR=$PWD/_pkg install
    1.33 +		--disable-device-mapper &&
    1.34 +	make && make install
    1.35  }
    1.36  
    1.37  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.38  genpkg_rules()
    1.39  {
    1.40  	mkdir -p $fs/usr/lib $fs/usr/share/locale
    1.41 -	
    1.42  	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.43  	cp -a $_pkg/usr/sbin $fs/usr
    1.44 -	cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    1.45  }