wok-next annotate iniparser/receipt @ rev 20564

shell-detector, screenfetch: create $install tree
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 10 10:14:26 2018 +0200 (2018-04-10)
parents de49f29b101e
children 315a1dc02606
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@20329 21 cp *.*a $install/usr/lib
al@20329 22 cp src/*.h $install/usr/include
al@20329 23 cook_pick_docs html/ AUTHORS README.md LICENSE FAQ*
erjo@13409 24 }
erjo@13409 25
al@20329 26 genpkg_rules() {
al@20329 27 case $PACKAGE in
al@20329 28 iniparser)
al@20329 29 copy @std
al@20329 30 ;;
al@20329 31 *-dev)
al@20329 32 copy @dev
al@20329 33 ;;
al@20329 34 esac
erjo@13409 35 }