wok-stable annotate libdevmapper/receipt @ rev 4027
dmraid/grub-dmraid: ensure raid is up
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 05 11:28:55 2009 +0200 (2009-09-05) |
parents | 74c908326808 |
children | efd761ce4594 |
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." |
b1+slitaz@1802 | 7 MAINTAINER="b1+slitaz@nagel.org" |
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 } |