wok-current view ofono/receipt @ rev 13330
linux: add RT2800PCI
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 04 11:11:15 2012 +0200 (2012-09-04) |
parents | 7043fa241420 |
children | 380ffe05937a |
line source
1 # SliTaz package receipt.
3 PACKAGE="ofono"
4 VERSION="0.28"
5 CATEGORY="network"
6 SHORT_DESC="Stack for mobile telephony (GSM/UMTS) applications."
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="dbus glib udev"
9 BUILD_DEPENDS="dbus-dev udev-dev glib-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://ofono.org"
12 WGET_URL="http://www.kernel.org/pub/linux/network/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|'
19 ./configure \
20 --prefix=/usr \
21 --sysconfdir=/etc \
22 --localstatedir=/var \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make && make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 # sysconfdir
33 mkdir -p $fs/etc
34 cp -a $_pkg/etc/* $fs/etc
35 # udev rules
36 mkdir -p $fs/lib
37 cp -a $_pkg/lib/udev $fs/lib
38 # bin
39 mkdir -p $fs/usr
40 cp -a $_pkg/usr/sbin $fs/usr
41 # var
42 mkdir -p $fs/var
43 cp -a $_pkg/var/lib $fs/var
44 }