wok-next view iniparser/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
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 }