wok-current annotate libmspack/receipt @ rev 19301
astromenace: update bdeps; genpkg_rules is launch without any bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 09 18:39:35 2016 +0200 (2016-07-09) |
parents | |
children | a78610b2eb47 |
rev | line source |
---|---|
nneul@18389 | 1 # SliTaz package receipt. |
nneul@18389 | 2 |
nneul@18389 | 3 PACKAGE="libmspack" |
nneul@18389 | 4 VERSION="0.5alpha" |
nneul@18389 | 5 CATEGORY="development" |
nneul@18389 | 6 SHORT_DESC="A library which allows extracting from MS CAB files" |
nneul@18389 | 7 MAINTAINER="nneul@neulinger.org" |
nneul@18389 | 8 LICENSE="LGPL" |
nneul@18389 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
nneul@18389 | 10 WEB_SITE="http://www.cabextract.org.uk/libmspack/" |
nneul@18389 | 11 WGET_URL="http://www.cabextract.org.uk/libmspack/$TARBALL" |
nneul@18389 | 12 |
nneul@18389 | 13 # Rules to configure and make the package. |
nneul@18389 | 14 compile_rules() |
nneul@18389 | 15 { |
nneul@18389 | 16 ./configure \ |
nneul@18389 | 17 --prefix=/usr \ |
nneul@18389 | 18 --infodir=/usr/share/info \ |
nneul@18389 | 19 --mandir=/usr/share/man \ |
nneul@18389 | 20 $CONFIGURE_ARGS && |
nneul@18389 | 21 make && make DESTDIR=$DESTDIR install |
nneul@18389 | 22 } |
nneul@18389 | 23 |
nneul@18389 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
nneul@18389 | 25 genpkg_rules() |
nneul@18389 | 26 { |
nneul@18389 | 27 mkdir -p $fs/usr/lib |
nneul@18389 | 28 cp -a $install/usr/lib/*.so* $fs/usr/lib |
nneul@18389 | 29 } |
nneul@18389 | 30 |