wok-6.x annotate ofono/receipt @ rev 9475
Removed more unneeded strips (those ones are handled by Tazwok).
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Apr 04 01:54:51 2011 +0000 (2011-04-04) |
parents | |
children | d7274e3b2cc0 |
rev | line source |
---|---|
slaxemulator@9314 | 1 # SliTaz package receipt. |
slaxemulator@9314 | 2 |
slaxemulator@9314 | 3 PACKAGE="ofono" |
slaxemulator@9314 | 4 VERSION="0.28" |
slaxemulator@9314 | 5 CATEGORY="network" |
slaxemulator@9314 | 6 SHORT_DESC="Stack for mobile telephony (GSM/UMTS) applications." |
slaxemulator@9314 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@9314 | 8 DEPENDS="dbus glib udev" |
slaxemulator@9314 | 9 BUILD_DEPENDS="dbus-dev udev-dev glib-dev" |
slaxemulator@9314 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@9314 | 11 WEB_SITE="http://ofono.org" |
slaxemulator@9314 | 12 WGET_URL="http://www.kernel.org/pub/linux/network/$PACKAGE/$TARBALL" |
slaxemulator@9314 | 13 |
slaxemulator@9314 | 14 # Rules to configure and make the package. |
slaxemulator@9314 | 15 compile_rules() |
slaxemulator@9314 | 16 { |
slaxemulator@9314 | 17 cd $src |
slaxemulator@9314 | 18 ./configure \ |
slaxemulator@9314 | 19 --prefix=/usr \ |
slaxemulator@9314 | 20 --sysconfdir=/etc \ |
slaxemulator@9314 | 21 --localstatedir=/var \ |
slaxemulator@9314 | 22 --infodir=/usr/share/info \ |
slaxemulator@9314 | 23 --mandir=/usr/share/man \ |
slaxemulator@9314 | 24 $CONFIGURE_ARGS && |
slaxemulator@9314 | 25 make && make DESTDIR=$PWD/_pkg install |
slaxemulator@9314 | 26 } |
slaxemulator@9314 | 27 |
slaxemulator@9314 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9314 | 29 genpkg_rules() |
slaxemulator@9314 | 30 { |
slaxemulator@9314 | 31 # sysconfdir |
slaxemulator@9314 | 32 mkdir -p $fs/etc |
slaxemulator@9314 | 33 cp -a $_pkg/etc/* $fs/etc |
slaxemulator@9314 | 34 # udev rules |
slaxemulator@9314 | 35 mkdir -p $fs/lib |
slaxemulator@9314 | 36 cp -a $_pkg/lib/udev $fs/lib |
slaxemulator@9314 | 37 # bin |
slaxemulator@9314 | 38 mkdir -p $fs/usr |
slaxemulator@9314 | 39 cp -a $_pkg/usr/sbin $fs/usr |
slaxemulator@9314 | 40 # var |
slaxemulator@9314 | 41 mkdir -p $fs/var |
slaxemulator@9314 | 42 cp -a $_pkg/var/lib $fs/var |
slaxemulator@9314 | 43 } |