wok view ofono/receipt @ rev 25624

Add opendkim
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 08 16:45:57 2023 +0000 (12 months ago)
parents 109be9bea982
children 1b965c2713aa
line source
1 # SliTaz package receipt.
3 PACKAGE="ofono"
4 VERSION="1.14"
5 CATEGORY="network"
6 SHORT_DESC="Stack for mobile telephony (GSM/UMTS) applications."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://ofono.org"
11 WGET_URL="http://linux-kernel.uio.no/pub/linux/network/$PACKAGE/$TARBALL"
13 DEPENDS="dbus glib udev bluez"
14 BUILD_DEPENDS="dbus-dev udev-dev glib-dev bluez-dev \
15 mobile-broadband-provider-info-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --sysconfdir=/etc \
30 --localstatedir=/var \
31 --infodir=/usr/share/info \
32 --mandir=/usr/share/man \
33 $CONFIGURE_ARGS &&
34 make && make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 # sysconfdir
41 mkdir -p $fs/etc
42 cp -a $install/etc/* $fs/etc
43 cp -a $stuff/etc/* $fs/etc
44 # sbin
45 mkdir -p $fs/usr
46 cp -a $install/usr/sbin $fs/usr
47 }