wok-current annotate libzip/receipt @ rev 15482
Add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 10 17:13:06 2013 +0000 (2013-11-10) |
parents | b26616acb288 |
children | d038b033c321 |
rev | line source |
---|---|
pascal@12805 | 1 # SliTaz package receipt. |
pascal@12805 | 2 |
pascal@12805 | 3 PACKAGE="libzip" |
pascal@12805 | 4 VERSION="0.10.1" |
pascal@12805 | 5 CATEGORY="misc" |
pascal@12805 | 6 SHORT_DESC="C library for reading, creating, and modifying zip archives." |
pascal@12805 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15482 | 8 LICENSE="BSD" |
pascal@12805 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@12805 | 10 WEB_SITE="http://www.nih.at/libzip/" |
pascal@12805 | 11 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@12805 | 12 |
pascal@12805 | 13 BUILD_DEPENDS="zlib-dev" |
pascal@12805 | 14 DEPENDS="zlib" |
pascal@12805 | 15 |
pascal@12805 | 16 # Rules to configure and make the package. |
pascal@12805 | 17 compile_rules() |
pascal@12805 | 18 { |
pascal@12805 | 19 cd $src |
pascal@12805 | 20 ./configure --prefix=/usr && |
pascal@12805 | 21 make && make install |
pascal@12805 | 22 } |
pascal@12805 | 23 |
pascal@12805 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@12805 | 25 genpkg_rules() |
pascal@12805 | 26 { |
pascal@12805 | 27 mkdir -p $fs/usr/lib |
pascal@12805 | 28 cp -a $install/usr/bin $fs/usr |
pascal@12805 | 29 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@12805 | 30 } |