wok annotate libqcow/receipt @ rev 13638
Up: embryo (1.7.1)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Nov 16 00:04:15 2012 +0100 (2012-11-16) |
parents | |
children | 086841d75237 |
rev | line source |
---|---|
pascal@12907 | 1 # SliTaz package receipt. |
pascal@12907 | 2 |
pascal@12907 | 3 PACKAGE="libqcow" |
pascal@12907 | 4 VERSION="20120225" |
pascal@12907 | 5 CATEGORY="misc" |
pascal@12907 | 6 SHORT_DESC="Tools for reading QEMU Copy-On-Write (QCOW) image files." |
pascal@12907 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@12907 | 8 TARBALL="$PACKAGE-alpha-$VERSION.tar.gz" |
pascal@12907 | 9 WEB_SITE="http://libqcow.sourceforge.net/" |
pascal@12907 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@12907 | 11 |
pascal@12907 | 12 DEPENDS="fuse libcrypto" |
pascal@12907 | 13 BUILD_DEPENDS="fuse-dev openssl-dev" |
pascal@12907 | 14 |
pascal@12907 | 15 # Rules to configure and make the package. |
pascal@12907 | 16 compile_rules() |
pascal@12907 | 17 { |
pascal@12907 | 18 cd $src |
pascal@12907 | 19 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pascal@12907 | 20 --localstatedir=/var \ |
pascal@12907 | 21 $CONFIGURE_ARGS && |
pascal@12907 | 22 make && |
pascal@12907 | 23 make DESTDIR=$DESTDIR install |
pascal@12907 | 24 } |
pascal@12907 | 25 |
pascal@12907 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@12907 | 27 genpkg_rules() |
pascal@12907 | 28 { |
pascal@12907 | 29 mkdir -p $fs/usr/lib |
pascal@12907 | 30 cp -a $_pkg/usr/bin $fs/usr |
pascal@12907 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@12907 | 32 } |