wok-next annotate 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
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"
al@21020 7 MAINTAINER="devel@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@21020 14 SPLIT="$PACKAGE-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 }