wok-current view ofono/receipt @ rev 9798
udev-light: fix stuff path (again)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 14 13:48:00 2011 +0200 (2011-05-14) |
parents | |
children | d7274e3b2cc0 |
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 ./configure \
19 --prefix=/usr \
20 --sysconfdir=/etc \
21 --localstatedir=/var \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 # sysconfdir
32 mkdir -p $fs/etc
33 cp -a $_pkg/etc/* $fs/etc
34 # udev rules
35 mkdir -p $fs/lib
36 cp -a $_pkg/lib/udev $fs/lib
37 # bin
38 mkdir -p $fs/usr
39 cp -a $_pkg/usr/sbin $fs/usr
40 # var
41 mkdir -p $fs/var
42 cp -a $_pkg/var/lib $fs/var
43 }