wok-next view iniparser/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 315a1dc02606
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="iniparser"
4 VERSION="4.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Free stand-alone ini file parsing library"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://ndevilla.free.fr/iniparser/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/ndevilla/iniparser/archive/v$VERSION.tar.gz"
14 SPLIT="$PACKAGE-dev"
16 compile_rules() {
17 make || return 1
19 mkdir -p $install/usr/lib $install/usr/include
20 cp -a *.so* $install/usr/lib
21 ln -s libiniparser.so.1 $install/usr/lib/libiniparser.so
22 # cp *.*a $install/usr/lib
23 cp src/*.h $install/usr/include
25 cook_pick_docs html/ AUTHORS README.md LICENSE FAQ*
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 iniparser) copy @std;;
31 *-dev) copy @dev;;
32 esac
33 }