wok view libzim-dev/receipt @ rev 25364
cpige: apply gibor patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 28 14:38:50 2022 +0000 (2022-07-28) |
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 }