wok-current annotate libdevmapper/receipt @ rev 1163
e2fsprogs: spin off libcomerr
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 29 12:25:48 2008 +0000 (2008-07-29) |
parents | |
children | 74c908326808 |
rev | line source |
---|---|
wcnagel@1031 | 1 # SliTaz package receipt. |
wcnagel@1031 | 2 |
wcnagel@1031 | 3 PACKAGE="libdevmapper" |
wcnagel@1031 | 4 VERSION="1.02.27" |
wcnagel@1031 | 5 CATEGORY="system-tools" |
wcnagel@1031 | 6 SHORT_DESC="Linux device mapper library." |
wcnagel@1031 | 7 MAINTAINER="wcnagel" |
wcnagel@1031 | 8 TARBALL="device-mapper.$VERSION.tgz" |
wcnagel@1031 | 9 WEB_SITE="http://sourceware.org/dm/" |
wcnagel@1031 | 10 WGET_URL="ftp://sources.redhat.com/pub/dm/$TARBALL" |
wcnagel@1031 | 11 |
wcnagel@1031 | 12 # Rules to configure and make the package. |
wcnagel@1031 | 13 compile_rules() |
wcnagel@1031 | 14 { |
wcnagel@1031 | 15 cd $WOK/$PACKAGE |
wcnagel@1031 | 16 mv device-mapper.$VERSION $PACKAGE-$VERSION |
wcnagel@1031 | 17 cd $src/lib |
wcnagel@1031 | 18 sed 's/(INSTALL) -D/(INSTALL)/' < Makefile.in > tmp |
wcnagel@1031 | 19 mv tmp Makefile.in |
wcnagel@1031 | 20 cd $src |
wcnagel@1031 | 21 ./configure --prefix=/usr $CONFIGURE_ARGS |
wcnagel@1031 | 22 make |
wcnagel@1031 | 23 mkdir -p $src/_pkg/usr/lib |
wcnagel@1031 | 24 mkdir -p $src/_pkg/usr/include |
wcnagel@1031 | 25 cd $src/lib |
wcnagel@1031 | 26 make DESTDIR=$src/_pkg install |
wcnagel@1031 | 27 } |
wcnagel@1031 | 28 |
wcnagel@1031 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
wcnagel@1031 | 30 genpkg_rules() |
wcnagel@1031 | 31 { |
wcnagel@1031 | 32 mkdir -p $fs/usr/lib |
wcnagel@1031 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
wcnagel@1031 | 34 strip -s $fs/usr/lib/* |
wcnagel@1031 | 35 } |