wok-current diff libdevmapper/receipt @ 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
children 74c908326808
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libdevmapper/receipt	Tue Jul 29 12:25:48 2008 +0000
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libdevmapper"
     1.7 +VERSION="1.02.27"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Linux device mapper library."
    1.10 +MAINTAINER="wcnagel"
    1.11 +TARBALL="device-mapper.$VERSION.tgz"
    1.12 +WEB_SITE="http://sourceware.org/dm/"
    1.13 +WGET_URL="ftp://sources.redhat.com/pub/dm/$TARBALL"
    1.14 +
    1.15 +# Rules to configure and make the package.
    1.16 +compile_rules()
    1.17 +{
    1.18 +	cd $WOK/$PACKAGE
    1.19 +	mv device-mapper.$VERSION $PACKAGE-$VERSION
    1.20 +	cd $src/lib
    1.21 +	sed 's/(INSTALL) -D/(INSTALL)/' < Makefile.in > tmp
    1.22 +	mv tmp Makefile.in
    1.23 +	cd $src
    1.24 +	./configure --prefix=/usr $CONFIGURE_ARGS
    1.25 +	make
    1.26 +	mkdir -p $src/_pkg/usr/lib
    1.27 +	mkdir -p $src/_pkg/usr/include
    1.28 +	cd $src/lib
    1.29 +	make DESTDIR=$src/_pkg install
    1.30 +}
    1.31 +
    1.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 +genpkg_rules()
    1.34 +{
    1.35 +	mkdir -p $fs/usr/lib
    1.36 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.37 +	strip -s $fs/usr/lib/*
    1.38 +}