wok-4.x rev 1163

e2fsprogs: spin off libcomerr
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 29 12:25:48 2008 +0000 (2008-07-29)
parents 2120530d4ada
children 9c8c544854ff
files e2fsprogs-dev/receipt e2fsprogs/receipt e2fsprogs/stuff/libcomerr-dev.files-list e2fsprogs/stuff/libcomerr.files-list libcomerr-dev/receipt libcomerr/receipt
line diff
     1.1 --- a/e2fsprogs-dev/receipt	Tue Jul 29 09:51:47 2008 +0000
     1.2 +++ b/e2fsprogs-dev/receipt	Tue Jul 29 12:25:48 2008 +0000
     1.3 @@ -7,6 +7,7 @@
     1.4  MAINTAINER="pankso@slitaz.org"
     1.5  WANTED="e2fsprogs"
     1.6  WEB_SITE="http://e2fsprogs.sourceforge.net/"
     1.7 +DEPENDS="libcomerr-dev"
     1.8  
     1.9  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.10  genpkg_rules()
    1.11 @@ -15,4 +16,7 @@
    1.12  	cp -a $_pkg/usr/lib/*.a $fs/usr/lib
    1.13  	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.14  	cp -a $_pkg/usr/include $fs/usr
    1.15 +	cat $src/*.files-list | while read file; do
    1.16 +		[ -f $fs$file ] && rm -f $fs$file
    1.17 +	done
    1.18  }
     2.1 --- a/e2fsprogs/receipt	Tue Jul 29 09:51:47 2008 +0000
     2.2 +++ b/e2fsprogs/receipt	Tue Jul 29 12:25:48 2008 +0000
     2.3 @@ -8,6 +8,7 @@
     2.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     2.5  WEB_SITE="http://e2fsprogs.sourceforge.net/"
     2.6  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
     2.7 +DEPENDS="libcomerr"
     2.8  
     2.9  # Rules to configure and make the package.
    2.10  compile_rules()
    2.11 @@ -25,6 +26,7 @@
    2.12  	make
    2.13  	make DESTDIR=$PWD/_pkg install
    2.14  	make DESTDIR=$PWD/_pkg install-libs
    2.15 +	cp ../stuff/*.files-list .
    2.16  }
    2.17  
    2.18  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.19 @@ -37,6 +39,9 @@
    2.20  	cp -a $_pkg/usr/bin $fs/usr
    2.21  	cp -a $_pkg/usr/sbin $fs/usr
    2.22  	cp -ad $_pkg/usr/lib/*.so $fs/usr/lib
    2.23 +	cat $src/*.files-list | while read file; do
    2.24 +		[ -f $fs$file ] && rm -f $fs$file
    2.25 +	done
    2.26  	
    2.27  	# Remove fsck provided by Busybox.
    2.28  	rm -rf $fs/sbin/fsck*
    2.29 @@ -44,10 +49,9 @@
    2.30  	# Locale fr.
    2.31  	cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    2.32  	
    2.33 -	# Strip all stuff.
    2.34 -	strip -s $fs/sbin/*
    2.35 -	strip -s $fs/lib/*
    2.36 -	strip -s $fs/usr/bin/*
    2.37 -	strip -s $fs/usr/sbin/*
    2.38 -	strip -s $fs/usr/lib/*
    2.39 +	# Package all mysql pkgs
    2.40 +	for i in $(cd $WOK; ls -d e2fsprogs-* libcomerr*)
    2.41 +	do
    2.42 +		tazwok genpkg $i
    2.43 +	done
    2.44  }
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/e2fsprogs/stuff/libcomerr-dev.files-list	Tue Jul 29 12:25:48 2008 +0000
     3.3 @@ -0,0 +1,3 @@
     3.4 +/usr/lib/libcom_err.a
     3.5 +/usr/lib/pkgconfig/com_err.pc
     3.6 +/usr/include/et/com_err.h
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/e2fsprogs/stuff/libcomerr.files-list	Tue Jul 29 12:25:48 2008 +0000
     4.3 @@ -0,0 +1,3 @@
     4.4 +/lib/libcom_err.so.2.1
     4.5 +/lib/libcom_err.so.2
     4.6 +/usr/lib/libcom_err.so
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/libcomerr-dev/receipt	Tue Jul 29 12:25:48 2008 +0000
     5.3 @@ -0,0 +1,19 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="libcomerr-dev"
     5.7 +VERSION="1.39"
     5.8 +CATEGORY="development"
     5.9 +SHORT_DESC="The libcomerr devel files."
    5.10 +MAINTAINER="pankso@slitaz.org"
    5.11 +WANTED="e2fsprogs"
    5.12 +WEB_SITE="http://e2fsprogs.sourceforge.net/"
    5.13 +
    5.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    5.15 +genpkg_rules()
    5.16 +{
    5.17 +	while read file; do
    5.18 +		dir=$(dirname $file)
    5.19 +		[ -d $fs$dir ] || mkdir -p $fs$dir
    5.20 +		cp -a $_pkg$file $fs$file
    5.21 +	done < $src/$PACKAGE.files-list
    5.22 +}
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/libcomerr/receipt	Tue Jul 29 12:25:48 2008 +0000
     6.3 @@ -0,0 +1,19 @@
     6.4 +# SliTaz package receipt.
     6.5 +
     6.6 +PACKAGE="libcomerr"
     6.7 +VERSION="1.39"
     6.8 +CATEGORY="base-system"
     6.9 +SHORT_DESC="The libcomerr library files."
    6.10 +MAINTAINER="pankso@slitaz.org"
    6.11 +WANTED="e2fsprogs"
    6.12 +WEB_SITE="http://e2fsprogs.sourceforge.net/"
    6.13 +
    6.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    6.15 +genpkg_rules()
    6.16 +{
    6.17 +	while read file; do
    6.18 +		dir=$(dirname $file)
    6.19 +		[ -d $fs$dir ] || mkdir -p $fs$dir
    6.20 +		cp -a $_pkg$file $fs$file
    6.21 +	done < $src/$PACKAGE.files-list
    6.22 +}