wok-next annotate uhttpmock/receipt @ rev 21715

Up cookutils (1146)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 28 07:53:22 2020 +0000 (2020-07-28)
parents d3707642a563
children
rev   line source
al@20902 1 # SliTaz package receipt v2.
al@20902 2
al@20902 3 PACKAGE="uhttpmock"
al@20902 4 VERSION="0.5.1"
al@20902 5 CATEGORY="network"
al@20902 6 SHORT_DESC="HTTP web service mocking library"
al@20902 7 MAINTAINER="al.bobylev@gmail.com"
al@20902 8 LICENSE="LGPL2.0"
al@20902 9 WEB_SITE="https://gitlab.com/uhttpmock/uhttpmock"
al@20902 10
al@20902 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@20902 12 WGET_URL="http://tecnocode.co.uk/downloads/uhttpmock/$TARBALL"
al@20902 13
al@20902 14 BUILD_DEPENDS="glib-dev libsoup-dev gobject-introspection-dev vala"
al@21020 15 SPLIT="$PACKAGE-dev"
al@20902 16
al@20902 17 compile_rules() {
al@20902 18 ./configure \
al@20902 19 --disable-static \
al@20902 20 $CONFIGURE_ARGS &&
al@20902 21 fix libtool &&
al@20902 22 make &&
al@20902 23 make install
al@20902 24 }
al@20902 25
al@20902 26 genpkg_rules() {
al@20902 27 case $PACKAGE in
al@20902 28 uhttpmock)
al@20902 29 copy @std
al@20902 30 DEPENDS="glib libsoup"
al@20902 31 ;;
al@20902 32 *-dev)
al@20902 33 copy @dev
al@20902 34 DEPENDS="uhttpmock glib-dev libsoup-dev"
al@20902 35 ;;
al@20902 36 esac
al@20902 37 }