wok-6.x annotate ofono/receipt @ rev 15695

Fix missing mkdir command
author Stanislas Leduc <shann@slitaz.org>
date Sat Dec 21 11:13:51 2013 +0100 (2013-12-21)
parents 274af13ca754
children 109be9bea982
rev   line source
slaxemulator@9314 1 # SliTaz package receipt.
slaxemulator@9314 2
slaxemulator@9314 3 PACKAGE="ofono"
domcox@15396 4 VERSION="1.12"
slaxemulator@9314 5 CATEGORY="network"
slaxemulator@9314 6 SHORT_DESC="Stack for mobile telephony (GSM/UMTS) applications."
slaxemulator@9314 7 MAINTAINER="slaxemulator@gmail.com"
pascal@15577 8 LICENSE="GPL2"
domcox@15396 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
slaxemulator@9314 10 WEB_SITE="http://ofono.org"
domcox@15396 11 WGET_URL="http://linux-kernel.uio.no/pub/linux/network/$PACKAGE/$TARBALL"
slaxemulator@9314 12
pascal@15577 13 DEPENDS="dbus glib udev bluez"
domcox@15396 14 BUILD_DEPENDS="dbus-dev udev-dev glib-dev bluez-dev \
domcox@15396 15 mobile-broadband-provider-info-dev"
pascal@15000 16
slaxemulator@9314 17 # Rules to configure and make the package.
slaxemulator@9314 18 compile_rules()
slaxemulator@9314 19 {
slaxemulator@9314 20 ./configure \
slaxemulator@9314 21 --prefix=/usr \
slaxemulator@9314 22 --sysconfdir=/etc \
slaxemulator@9314 23 --localstatedir=/var \
slaxemulator@9314 24 --infodir=/usr/share/info \
slaxemulator@9314 25 --mandir=/usr/share/man \
slaxemulator@9314 26 $CONFIGURE_ARGS &&
pascal@15577 27 make && make DESTDIR=$DESTDIR install
slaxemulator@9314 28 }
slaxemulator@9314 29
slaxemulator@9314 30 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@9314 31 genpkg_rules()
slaxemulator@9314 32 {
slaxemulator@9314 33 # sysconfdir
slaxemulator@9314 34 mkdir -p $fs/etc
pascal@15577 35 cp -a $install/etc/* $fs/etc
pascal@15577 36 cp -a $stuff/etc/* $fs/etc
domcox@15396 37 # sbin
slaxemulator@9314 38 mkdir -p $fs/usr
pascal@15577 39 cp -a $install/usr/sbin $fs/usr
slaxemulator@9314 40 }