wok-next annotate libsde-utils-jansson/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents 87011214235a
children
rev   line source
al@21003 1 # SliTaz package receipt v2.
psychomaniak@19052 2
psychomaniak@19052 3 PACKAGE="libsde-utils-jansson"
al@21003 4 VERSION="git20161208" # no releases there
al@21003 5 COMMIT="2389d86"
psychomaniak@19052 6 CATEGORY="development"
psychomaniak@19052 7 SHORT_DESC="SDE Jansson Utility Library"
al@19170 8 MAINTAINER="al.bobylev@gmail.com"
al@21003 9 LICENSE="MIT"
al@21003 10 WEB_SITE="https://github.com/sde-gui/libsde-utils-jansson"
psychomaniak@19052 11
al@21003 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@21003 13 WGET_URL="https://github.com/sde-gui/libsde-utils-jansson/archive/$COMMIT.tar.gz"
psychomaniak@19052 14
al@21017 15 BUILD_DEPENDS="automake libtool glib-dev gtk2-dev jansson-dev libsde-utils-dev \
al@21003 16 libsde-utils-gtk-dev"
al@21003 17 SPLIT="$PACKAGE-dev"
al@21003 18
al@21003 19 compile_rules() {
al@21003 20 ./autogen.sh &&
al@21003 21 ./configure $CONFIGURE_ARGS &&
al@21003 22 fix libtool &&
psychomaniak@19052 23 make &&
psychomaniak@19052 24 make install
psychomaniak@19052 25 }
psychomaniak@19052 26
al@21003 27 genpkg_rules() {
al@21003 28 case $PACKAGE in
al@21003 29 libsde-utils-jansson)
al@21003 30 copy @std
al@21017 31 DEPENDS="glib gtk2 jansson libsde-utils-gtk"
al@21003 32 ;;
al@21003 33 *-dev)
al@21003 34 copy @dev
al@21003 35 DEPENDS="libsde-utils-jansson jansson-dev"
al@21003 36 ;;
al@21003 37 esac
psychomaniak@19052 38 }