wok annotate libzip/receipt @ rev 23608

updated nnn (3.0 -> 3.1)
author Hans-G?nter Theisgen
date Tue Apr 14 06:12:39 2020 +0100 (2020-04-14)
parents 84659393c7e8
children 15650f5d595b
rev   line source
pascal@12805 1 # SliTaz package receipt.
pascal@12805 2
pascal@12805 3 PACKAGE="libzip"
Hans-G?nter@23128 4 VERSION="1.6.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"
Hans-G?nter@21355 9 WEB_SITE="https://libzip.org/"
Hans-G?nter@21355 10
pascal@17256 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
Hans-G?nter@21355 12 WGET_URL="${WEB_SITE}download/$TARBALL"
Hans-G?nter@21355 13
Hans-G?nter@21355 14 DEPENDS="zlib"
Hans-G?nter@21355 15 BUILD_DEPENDS="cmake zlib-dev"
Hans-G?nter@21355 16
pankso@16066 17 HOST_ARCH="i486 arm"
pascal@12805 18
pascal@12805 19 # Rules to configure and make the package.
pascal@12805 20 compile_rules()
pascal@12805 21 {
Hans-G?nter@21355 22 mkdir build &&
Hans-G?nter@21355 23 cd build &&
pascal@20181 24 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
Hans-G?nter@21355 25 make -j 1 &&
Hans-G?nter@21355 26 make -j 1 install
pascal@12805 27 }
pascal@12805 28
pascal@12805 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@12805 30 genpkg_rules()
pascal@12805 31 {
pascal@12805 32 mkdir -p $fs/usr/lib
Hans-G?nter@21355 33
Hans-G?nter@21355 34 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21355 35 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@12805 36 }