wok-current annotate libdevmapper/receipt @ rev 1802
fixed email
author | Bill Nagel <b1+slitaz@nagel.org> |
---|---|
date | Wed Jan 26 00:55:11 2005 +0000 (2005-01-26) |
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 } |