wok rev 9314

Add ofono.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Mar 17 20:15:21 2011 +0000 (2011-03-17)
parents 09a5a7538ed7
children 2eaa57543adf
files ofono-dev/receipt ofono/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ofono-dev/receipt	Thu Mar 17 20:15:21 2011 +0000
     1.3 @@ -0,0 +1,15 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="ofono-dev"
     1.7 +VERSION="0.28"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Stack for mobile telephony (GSM/UMTS) - dev files"
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +WANTED="ofono"
    1.12 +
    1.13 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.14 +genpkg_rules()
    1.15 +{
    1.16 +	mkdir -p $fs/usr
    1.17 +	cp -a $_pkg/usr/include $fs/usr
    1.18 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/ofono/receipt	Thu Mar 17 20:15:21 2011 +0000
     2.3 @@ -0,0 +1,43 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="ofono"
     2.7 +VERSION="0.28"
     2.8 +CATEGORY="network"
     2.9 +SHORT_DESC="Stack for mobile telephony (GSM/UMTS) applications."
    2.10 +MAINTAINER="slaxemulator@gmail.com"
    2.11 +DEPENDS="dbus glib udev"
    2.12 +BUILD_DEPENDS="dbus-dev udev-dev glib-dev"
    2.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.14 +WEB_SITE="http://ofono.org"
    2.15 +WGET_URL="http://www.kernel.org/pub/linux/network/$PACKAGE/$TARBALL"
    2.16 +
    2.17 +# Rules to configure and make the package.
    2.18 +compile_rules()
    2.19 +{
    2.20 +	cd $src
    2.21 +	./configure \
    2.22 +		--prefix=/usr \
    2.23 +		--sysconfdir=/etc \
    2.24 +		--localstatedir=/var \
    2.25 +		--infodir=/usr/share/info \
    2.26 +		--mandir=/usr/share/man \
    2.27 +		$CONFIGURE_ARGS &&
    2.28 +	make && make DESTDIR=$PWD/_pkg install
    2.29 +}
    2.30 +
    2.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.32 +genpkg_rules()
    2.33 +{
    2.34 +	# sysconfdir
    2.35 +	mkdir -p $fs/etc
    2.36 +	cp -a $_pkg/etc/* $fs/etc
    2.37 +	# udev rules
    2.38 +	mkdir -p $fs/lib
    2.39 +	cp -a $_pkg/lib/udev $fs/lib
    2.40 +	# bin
    2.41 +	mkdir -p $fs/usr
    2.42 +	cp -a $_pkg/usr/sbin $fs/usr
    2.43 +	# var
    2.44 +	mkdir -p $fs/var
    2.45 +	cp -a $_pkg/var/lib $fs/var
    2.46 +}