wok-6.x annotate libzip/receipt @ rev 18794
emacs: improve site-start.el
author | Lucas Levrel <llevrel@yahoo.fr> |
---|---|
date | Thu Jan 07 22:13:24 2016 +0100 (2016-01-07) |
parents | 89f18ec827a9 |
children | 35a23f513b71 |
rev | line source |
---|---|
pascal@12805 | 1 # SliTaz package receipt. |
pascal@12805 | 2 |
pascal@12805 | 3 PACKAGE="libzip" |
pascal@17256 | 4 VERSION="0.11.2" |
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@17256 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@12805 | 10 WEB_SITE="http://www.nih.at/libzip/" |
pascal@12805 | 11 WGET_URL="${WEB_SITE}$TARBALL" |
pankso@16066 | 12 HOST_ARCH="i486 arm" |
pascal@12805 | 13 |
pascal@12805 | 14 BUILD_DEPENDS="zlib-dev" |
pascal@12805 | 15 DEPENDS="zlib" |
pascal@12805 | 16 |
pascal@12805 | 17 # Rules to configure and make the package. |
pascal@12805 | 18 compile_rules() |
pascal@12805 | 19 { |
pascal@12805 | 20 cd $src |
pankso@16066 | 21 ./configure \ |
pankso@16066 | 22 --prefix=/usr \ |
pankso@16066 | 23 $CONFIGURE_ARGS && |
pascal@15485 | 24 make && make -j 1 install |
pascal@12805 | 25 } |
pascal@12805 | 26 |
pascal@12805 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@12805 | 28 genpkg_rules() |
pascal@12805 | 29 { |
pascal@12805 | 30 mkdir -p $fs/usr/lib |
pascal@12805 | 31 cp -a $install/usr/bin $fs/usr |
pascal@12805 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@12805 | 33 } |