wok-current annotate libqcow/receipt @ rev 15524
Up: thunderbird-langpack-zh_CN (17.0.10esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Nov 19 22:24:35 2013 +0100 (2013-11-19) |
parents | e9e7c1c5617e |
children | 8dd8bab3f0ca |
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@14716 | 8 LICENSE="LGPL3" |
pascal@12907 | 9 TARBALL="$PACKAGE-alpha-$VERSION.tar.gz" |
pascal@12907 | 10 WEB_SITE="http://libqcow.sourceforge.net/" |
pascal@12907 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@12907 | 12 |
pascal@12907 | 13 DEPENDS="fuse libcrypto" |
pascal@12907 | 14 BUILD_DEPENDS="fuse-dev openssl-dev" |
pascal@12907 | 15 |
pascal@12907 | 16 # Rules to configure and make the package. |
pascal@12907 | 17 compile_rules() |
pascal@12907 | 18 { |
pascal@12907 | 19 cd $src |
pascal@12907 | 20 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pascal@12907 | 21 --localstatedir=/var \ |
pascal@12907 | 22 $CONFIGURE_ARGS && |
pascal@12907 | 23 make && |
pascal@12907 | 24 make DESTDIR=$DESTDIR install |
pascal@12907 | 25 } |
pascal@12907 | 26 |
pascal@12907 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@12907 | 28 genpkg_rules() |
pascal@12907 | 29 { |
pascal@12907 | 30 mkdir -p $fs/usr/lib |
pascal@14716 | 31 cp -a $install/usr/bin $fs/usr |
pascal@14716 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@12907 | 33 } |