wok-current annotate libzim-dev/receipt @ rev 21419
php: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 24 17:27:05 2019 +0200 (2019-04-24) |
parents | fe90a00917af |
children |
rev | line source |
---|---|
pascal@19339 | 1 # SliTaz package receipt. |
pascal@19339 | 2 |
pascal@19339 | 3 PACKAGE="libzim-dev" |
pascal@20180 | 4 VERSION="1.4" |
pascal@19339 | 5 CATEGORY="development" |
pascal@19339 | 6 SHORT_DESC="Read and write method for ZIM files used by Wikipedia, development files." |
pascal@19339 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@19339 | 8 LICENSE="GPL2" |
pascal@21419 | 9 WEB_SITE="https://www.openzim.org/wiki/Zimlib" |
pascal@19339 | 10 WANTED="libzim" |
pascal@19339 | 11 |
pascal@20491 | 12 DEPENDS="libzim pkg-config" |
pascal@19339 | 13 |
pascal@19339 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19339 | 15 genpkg_rules() |
pascal@19339 | 16 { |
pascal@20491 | 17 mkdir -p $fs/usr/lib/pkgconfig |
pascal@19339 | 18 cp -a $install/usr/lib/*a $fs/usr/lib/ |
pascal@19339 | 19 cp -a $install/usr/include $fs/usr |
pascal@20491 | 20 cat > $fs/usr/lib/pkgconfig/libzim.pc <<EOT |
pascal@20491 | 21 prefix=/usr |
pascal@20491 | 22 exec_prefix=\${prefix} |
pascal@20491 | 23 libdir=\${exec_prefix}/lib |
pascal@20491 | 24 includedir=\${prefix}/include |
pascal@20491 | 25 |
pascal@20491 | 26 Name: libzim |
pascal@20491 | 27 Description: Library for manipulating ZIM files. |
pascal@20491 | 28 Version: $VERSION |
pascal@20491 | 29 Libs: -L\${libdir} |
pascal@20491 | 30 Cflags: -I\${includedir} |
pascal@20491 | 31 |
pascal@20491 | 32 EOT |
pascal@19339 | 33 } |