wok-6.x view libdevmapper/receipt @ rev 3692

Update: unzip (handle BusyBox symlinks)
author Matthew Sheets <rcx@zoominternet.net>
date Thu Jul 16 09:04:19 2009 +0000 (2009-07-16)
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 }