wok view libzim-dev/receipt @ rev 21419

php: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 24 17:27:05 2019 +0200 (6 months ago)
parents fe90a00917af
children
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="https://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 }