wok-current view ofono/receipt @ rev 19726
testdisk: simplify some initializations
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 16 18:55:42 2017 +0100 (2017-02-16) |
parents | 8ebec64e4191 |
children | 241fb98cab1c |
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --prefix=/usr \
22 --sysconfdir=/etc \
23 --localstatedir=/var \
24 --infodir=/usr/share/info \
25 --mandir=/usr/share/man \
26 $CONFIGURE_ARGS &&
27 make && make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 # sysconfdir
34 mkdir -p $fs/etc
35 cp -a $install/etc/* $fs/etc
36 cp -a $stuff/etc/* $fs/etc
37 # sbin
38 mkdir -p $fs/usr
39 cp -a $install/usr/sbin $fs/usr
40 }