wok-current rev 1031

Add libdevmapper
author Bill Nagel <wcnagel@xxxxxxxx>
date Thu Jul 10 18:13:46 2008 +0000 (2008-07-10)
parents cd9d437a5a0f
children ff4745b2e54a
files cryptsetup/receipt libdevmapper-dev/receipt libdevmapper/receipt
line diff
     1.1 --- a/cryptsetup/receipt	Thu Jul 10 21:31:44 2008 +0000
     1.2 +++ b/cryptsetup/receipt	Thu Jul 10 18:13:46 2008 +0000
     1.3 @@ -5,8 +5,8 @@
     1.4  CATEGORY="system-tools"
     1.5  SHORT_DESC="dm-crypt setup tool"
     1.6  MAINTAINER="wcnagel"
     1.7 -DEPENDS="e2fsprogs popt"
     1.8 -BUILD_DEPENDS="e2fsprogs-dev popt-dev"
     1.9 +DEPENDS="e2fsprogs popt libgcrypt libdevmapper"
    1.10 +BUILD_DEPENDS="e2fsprogs-dev popt-dev libgcrypt-dev libdevmapper-dev"
    1.11  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.12  WEB_SITE="http://luks.endorphin.org/dm-crypt"
    1.13  WGET_URL="http://luks.endorphin.org/source/$TARBALL"
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libdevmapper-dev/receipt	Thu Jul 10 18:13:46 2008 +0000
     2.3 @@ -0,0 +1,16 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="libdevmapper-dev"
     2.7 +VERSION="1.02.27"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="Linux device mapper library development files."
    2.10 +MAINTAINER="wcnagel"
    2.11 +WANTED="libdevmapper"
    2.12 +WEB_SITE="http://sourceware.org/dm/"
    2.13 +
    2.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.15 +genpkg_rules()
    2.16 +{
    2.17 +	mkdir -p $fs/usr
    2.18 +	cp -a $_pkg/usr/include $fs/usr
    2.19 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/libdevmapper/receipt	Thu Jul 10 18:13:46 2008 +0000
     3.3 @@ -0,0 +1,35 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="libdevmapper"
     3.7 +VERSION="1.02.27"
     3.8 +CATEGORY="system-tools"
     3.9 +SHORT_DESC="Linux device mapper library."
    3.10 +MAINTAINER="wcnagel"
    3.11 +TARBALL="device-mapper.$VERSION.tgz"
    3.12 +WEB_SITE="http://sourceware.org/dm/"
    3.13 +WGET_URL="ftp://sources.redhat.com/pub/dm/$TARBALL"
    3.14 +
    3.15 +# Rules to configure and make the package.
    3.16 +compile_rules()
    3.17 +{
    3.18 +	cd $WOK/$PACKAGE
    3.19 +	mv device-mapper.$VERSION $PACKAGE-$VERSION
    3.20 +	cd $src/lib
    3.21 +	sed 's/(INSTALL) -D/(INSTALL)/' < Makefile.in > tmp
    3.22 +	mv tmp Makefile.in
    3.23 +	cd $src
    3.24 +	./configure --prefix=/usr $CONFIGURE_ARGS
    3.25 +	make
    3.26 +	mkdir -p $src/_pkg/usr/lib
    3.27 +	mkdir -p $src/_pkg/usr/include
    3.28 +	cd $src/lib
    3.29 +	make DESTDIR=$src/_pkg install
    3.30 +}
    3.31 +
    3.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.33 +genpkg_rules()
    3.34 +{
    3.35 +	mkdir -p $fs/usr/lib
    3.36 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    3.37 +	strip -s $fs/usr/lib/*
    3.38 +}