wok-next annotate iniparser/receipt @ rev 20967

Micro-updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Sep 11 03:22:00 2018 +0300 (2018-09-11)
parents 0b3c35d905d2
children d5aab818505e
rev   line source
al@20329 1 # SliTaz package receipt v2.
erjo@13409 2
erjo@13409 3 PACKAGE="iniparser"
al@20329 4 VERSION="4.1"
erjo@13409 5 CATEGORY="system-tools"
al@20329 6 SHORT_DESC="Free stand-alone ini file parsing library"
erjo@13409 7 MAINTAINER="erjo@slitaz.org"
pascal@15600 8 LICENSE="MIT"
erjo@13409 9 WEB_SITE="http://ndevilla.free.fr/iniparser/"
al@20329 10
erjo@13409 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20329 12 WGET_URL="https://github.com/ndevilla/iniparser/archive/v$VERSION.tar.gz"
erjo@13409 13
al@20329 14 SPLIT="iniparser-dev"
erjo@13409 15
al@20329 16 compile_rules() {
al@20329 17 make || return 1
al@20329 18
al@20329 19 mkdir -p $install/usr/lib $install/usr/include
al@20329 20 cp -a *.so* $install/usr/lib
al@20967 21 ln -s libiniparser.so.1 $install/usr/lib/libiniparser.so
al@20967 22 # cp *.*a $install/usr/lib
al@20329 23 cp src/*.h $install/usr/include
al@20967 24
al@20329 25 cook_pick_docs html/ AUTHORS README.md LICENSE FAQ*
erjo@13409 26 }
erjo@13409 27
al@20329 28 genpkg_rules() {
al@20329 29 case $PACKAGE in
al@20967 30 iniparser) copy @std;;
al@20967 31 *-dev) copy @dev;;
al@20329 32 esac
erjo@13409 33 }