wok-6.x annotate libzip/receipt @ rev 23093
updated libpcap and libpcap-dev (1.4.0 -> 1.9.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 11 15:53:32 2020 +0100 (2020-03-11) |
parents | 8b25fb7e14d8 |
children | 779187465f62 |
rev | line source |
---|---|
pascal@12805 | 1 # SliTaz package receipt. |
pascal@12805 | 2 |
pascal@12805 | 3 PACKAGE="libzip" |
Hans-G?nter@21355 | 4 VERSION="1.5.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" |
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 } |