wok-next annotate ofono/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 4a67f7e79846
children d457c4e37c1b
rev   line source
al@20464 1 # SliTaz package receipt v2.
slaxemulator@9314 2
slaxemulator@9314 3 PACKAGE="ofono"
domcox@16003 4 VERSION="1.14"
slaxemulator@9314 5 CATEGORY="network"
al@20464 6 SHORT_DESC="Stack for mobile telephony (GSM/UMTS) applications"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15577 8 LICENSE="GPL2"
al@21020 9 WEB_SITE="http://ofono.org/"
al@20464 10
domcox@15396 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
domcox@15396 12 WGET_URL="http://linux-kernel.uio.no/pub/linux/network/$PACKAGE/$TARBALL"
slaxemulator@9314 13
al@20513 14 BUILD_DEPENDS="dbus-dev eudev-dev glib-dev bluez-dev \
domcox@15396 15 mobile-broadband-provider-info-dev"
al@21020 16 SPLIT="$PACKAGE-dev"
pascal@15000 17
al@20464 18 compile_rules() {
al@20513 19 ./configure $CONFIGURE_ARGS &&
al@20601 20 fix libtool &&
al@20601 21 make &&
al@21020 22 make DESTDIR=$install install || return 1
al@20513 23
al@20513 24 cp -a $stuff/etc/* $install/etc/
slaxemulator@9314 25 }
slaxemulator@9314 26
al@20464 27 genpkg_rules() {
al@20464 28 case $PACKAGE in
al@20464 29 ofono)
al@20513 30 copy @std
al@20513 31 DEPENDS="dbus glib eudev bluez"
al@20464 32 ;;
al@20464 33 *-dev)
al@20513 34 copy @dev
al@20464 35 ;;
al@20464 36 esac
slaxemulator@9314 37 }