wok-4.x view libdevmapper/receipt @ rev 2252

Add squirrelmail-html_mail
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 15 22:50:18 2009 +0000 (2009-02-15)
parents 74c908326808
children efd761ce4594
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="b1+slitaz@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 }