wok diff libzim-dev/receipt @ rev 20649
retawq: regenerate mo files (Aleksej)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 12 12:21:17 2019 +0100 (2019-01-12) |
parents | 35a23f513b71 |
children | fe96d104d02e |
line diff
1.1 --- a/libzim-dev/receipt Mon Jan 29 16:42:42 2018 +0100 1.2 +++ b/libzim-dev/receipt Sat Jan 12 12:21:17 2019 +0100 1.3 @@ -9,12 +9,25 @@ 1.4 WEB_SITE="http://www.openzim.org/wiki/Zimlib" 1.5 WANTED="libzim" 1.6 1.7 -DEPENDS="libzim" 1.8 +DEPENDS="libzim pkg-config" 1.9 1.10 # Rules to gen a SliTaz package suitable for Tazpkg. 1.11 genpkg_rules() 1.12 { 1.13 - mkdir -p $fs/usr/lib 1.14 + mkdir -p $fs/usr/lib/pkgconfig 1.15 cp -a $install/usr/lib/*a $fs/usr/lib/ 1.16 cp -a $install/usr/include $fs/usr 1.17 + cat > $fs/usr/lib/pkgconfig/libzim.pc <<EOT 1.18 +prefix=/usr 1.19 +exec_prefix=\${prefix} 1.20 +libdir=\${exec_prefix}/lib 1.21 +includedir=\${prefix}/include 1.22 + 1.23 +Name: libzim 1.24 +Description: Library for manipulating ZIM files. 1.25 +Version: $VERSION 1.26 +Libs: -L\${libdir} 1.27 +Cflags: -I\${includedir} 1.28 + 1.29 +EOT 1.30 }