wok view libdevmapper/receipt @ rev 1097

slitaz-loram-cdrom: some fixes for loram entry (2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 17 17:02:06 2008 +0000 (2008-07-17)
parents
children 74c908326808
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="wcnagel"
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 }