wok diff ofono/receipt @ rev 11455

groff: pack /usr/share files to the correct path
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Dec 17 11:42:21 2011 +0100 (2011-12-17)
parents
children d7274e3b2cc0
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ofono/receipt	Sat Dec 17 11:42:21 2011 +0100
     1.3 @@ -0,0 +1,43 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="ofono"
     1.7 +VERSION="0.28"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Stack for mobile telephony (GSM/UMTS) applications."
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +DEPENDS="dbus glib udev"
    1.12 +BUILD_DEPENDS="dbus-dev udev-dev glib-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://ofono.org"
    1.15 +WGET_URL="http://www.kernel.org/pub/linux/network/$PACKAGE/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	./configure \
    1.22 +		--prefix=/usr \
    1.23 +		--sysconfdir=/etc \
    1.24 +		--localstatedir=/var \
    1.25 +		--infodir=/usr/share/info \
    1.26 +		--mandir=/usr/share/man \
    1.27 +		$CONFIGURE_ARGS &&
    1.28 +	make && make DESTDIR=$PWD/_pkg install
    1.29 +}
    1.30 +
    1.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.32 +genpkg_rules()
    1.33 +{
    1.34 +	# sysconfdir
    1.35 +	mkdir -p $fs/etc
    1.36 +	cp -a $_pkg/etc/* $fs/etc
    1.37 +	# udev rules
    1.38 +	mkdir -p $fs/lib
    1.39 +	cp -a $_pkg/lib/udev $fs/lib
    1.40 +	# bin
    1.41 +	mkdir -p $fs/usr
    1.42 +	cp -a $_pkg/usr/sbin $fs/usr
    1.43 +	# var
    1.44 +	mkdir -p $fs/var
    1.45 +	cp -a $_pkg/var/lib $fs/var
    1.46 +}