wok view libzim-dev/receipt @ rev 20615

Update varka
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 21 20:44:57 2018 +0100 (2018-12-21)
parents 35a23f513b71
children fe96d104d02e
line source
1 # SliTaz package receipt.
3 PACKAGE="libzim-dev"
4 VERSION="1.4"
5 CATEGORY="development"
6 SHORT_DESC="Read and write method for ZIM files used by Wikipedia, development files."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.openzim.org/wiki/Zimlib"
10 WANTED="libzim"
12 DEPENDS="libzim pkg-config"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/usr/lib/pkgconfig
18 cp -a $install/usr/lib/*a $fs/usr/lib/
19 cp -a $install/usr/include $fs/usr
20 cat > $fs/usr/lib/pkgconfig/libzim.pc <<EOT
21 prefix=/usr
22 exec_prefix=\${prefix}
23 libdir=\${exec_prefix}/lib
24 includedir=\${prefix}/include
26 Name: libzim
27 Description: Library for manipulating ZIM files.
28 Version: $VERSION
29 Libs: -L\${libdir}
30 Cflags: -I\${includedir}
32 EOT
33 }