wok-next annotate yaml/receipt @ rev 20534

Clean default configure options when site script used.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 30 19:31:50 2018 +0300 (2018-03-30)
parents 617dbdeb6f7e
children 10df65db91ad
rev   line source
al@19978 1 # SliTaz package receipt v2.
erjo@11448 2
erjo@11448 3 PACKAGE="yaml"
al@19978 4 VERSION="0.1.7"
erjo@11448 5 CATEGORY="system-tools"
al@19978 6 SHORT_DESC="YAML 1.1 parser and emitter written in C"
erjo@11448 7 MAINTAINER="erjo@slitaz.org"
pascal@15362 8 LICENSE="CC-BY"
erjo@11448 9 WEB_SITE="http://pyyaml.org/wiki/LibYAML"
al@19978 10
erjo@11448 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@11448 12 WGET_URL="http://pyyaml.org/download/libyaml/$TARBALL"
erjo@11448 13
al@19978 14 SPLIT="yaml-dev"
erjo@11448 15
al@19978 16 compile_rules() {
erjo@11448 17 ./configure $CONFIGURE_ARGS && make && make install
erjo@11448 18 }
erjo@11448 19
al@19978 20 genpkg_rules() {
al@19978 21 case $PACKAGE in
al@19978 22 yaml) copy @std;;
al@19978 23 *-dev) copy @dev;;
al@19978 24 esac
erjo@11448 25 }