wok view libdevmapper/receipt @ rev 1501

Up dhcp (4.1.0a2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 05 13:24:16 2008 +0000 (2008-10-05)
parents e7272bdeb3bd
children 67356fcbb83e
line source
1 # SliTaz package receipt.
3 PACKAGE="libdevmapper"
4 VERSION="1.02.27"
5 CATEGORY="system-tools"
6 SHORT_DESC="Linux device mapper library."
7 MAINTAINER="bill@nagel.org"
8 TARBALL="device-mapper.$VERSION.tgz"
9 WEB_SITE="http://sourceware.org/dm/"
10 WGET_URL="ftp://sources.redhat.com/pub/dm/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $WOK/$PACKAGE
16 mv device-mapper.$VERSION $PACKAGE-$VERSION
17 cd $src/lib
18 sed 's/(INSTALL) -D/(INSTALL)/' < Makefile.in > tmp
19 mv tmp Makefile.in
20 cd $src
21 ./configure --prefix=/usr $CONFIGURE_ARGS
22 make
23 mkdir -p $src/_pkg/usr/lib
24 mkdir -p $src/_pkg/usr/include
25 cd $src/lib
26 make DESTDIR=$src/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 strip -s $fs/usr/lib/*
35 }