wok-4.x rev 12

Modified e2fsprogs receipt + add e2fsprogs-dev
author Christophe Lincoln <pankso@slitaz.org>
date Sat Dec 15 21:19:50 2007 +0100 (2007-12-15)
parents 534cedd9d753
children 591f8f8aad15
files e2fsprogs-dev/receipt e2fsprogs/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/e2fsprogs-dev/receipt	Sat Dec 15 21:19:50 2007 +0100
     1.3 @@ -0,0 +1,18 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="e2fsprogs-dev"
     1.7 +VERSION="1.39"
     1.8 +CATEGORY="devel"
     1.9 +SHORT_DESC="The e2fsprogs devel files."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +WANTED="e2fsprogs"
    1.12 +WEB_SITE="http://e2fsprogs.sourceforge.net/"
    1.13 +
    1.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.15 +genpkg_rules()
    1.16 +{
    1.17 +	mkdir -p $fs/usr/lib/
    1.18 +	cp -a $_pkg/usr/lib/*.a $fs/usr/lib
    1.19 +	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.20 +	cp -a $_pkg/usr/include $fs/usr
    1.21 +}
     2.1 --- a/e2fsprogs/receipt	Fri Dec 14 21:19:50 2007 +0100
     2.2 +++ b/e2fsprogs/receipt	Sat Dec 15 21:19:50 2007 +0100
     2.3 @@ -13,12 +13,18 @@
     2.4  compile_rules()
     2.5  {
     2.6  	cd $src
     2.7 -	./configure --prefix=/usr --with-root-prefix="" \
     2.8 -	--enable-elf-shlibs --disable-evms --sysconfdir=/etc \
     2.9 -	--infodir=/usr/share/info --mandir=/usr/share/man \
    2.10 -	$CONFIGURE_ARGS
    2.11 +	./configure \
    2.12 +		--prefix=/usr \
    2.13 +		--with-root-prefix="" \
    2.14 +		--enable-elf-shlibs \
    2.15 +		--disable-evms \
    2.16 +		--sysconfdir=/etc \
    2.17 +		--infodir=/usr/share/info \
    2.18 +		--mandir=/usr/share/man \
    2.19 +		$CONFIGURE_ARGS
    2.20  	make
    2.21  	make DESTDIR=$PWD/_pkg install
    2.22 +	make DESTDIR=$PWD/_pkg install-libs
    2.23  }
    2.24  
    2.25  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.26 @@ -31,12 +37,13 @@
    2.27  	cp -a $_pkg/usr/bin $fs/usr
    2.28  	cp -a $_pkg/usr/sbin $fs/usr
    2.29  	cp -ad $_pkg/usr/lib/*.so $fs/usr/lib
    2.30 -	# Remove unused libss and fsck provided by Busybox.
    2.31 -	rm -rf $fs/lib/libss*
    2.32 -	rm -rf $fs/usr/lib/libss*
    2.33 +	
    2.34 +	# Remove fsck provided by Busybox.
    2.35  	rm -rf $fs/sbin/fsck*
    2.36 +	
    2.37  	# Locale fr.
    2.38  	cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    2.39 +	
    2.40  	# Strip all stuff.
    2.41  	strip -s $fs/sbin/*
    2.42  	strip -s $fs/lib/*