wok annotate ofono/receipt @ rev 14889
Up: python-httplib2 (0.8)
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Wed Jul 24 19:02:34 2013 -0300 (2013-07-24) |
parents | 7043fa241420 |
children | 380ffe05937a |
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 |
pascal@12675 | 18 find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|' |
slaxemulator@9314 | 19 ./configure \ |
slaxemulator@9314 | 20 --prefix=/usr \ |
slaxemulator@9314 | 21 --sysconfdir=/etc \ |
slaxemulator@9314 | 22 --localstatedir=/var \ |
slaxemulator@9314 | 23 --infodir=/usr/share/info \ |
slaxemulator@9314 | 24 --mandir=/usr/share/man \ |
slaxemulator@9314 | 25 $CONFIGURE_ARGS && |
slaxemulator@9314 | 26 make && make DESTDIR=$PWD/_pkg install |
slaxemulator@9314 | 27 } |
slaxemulator@9314 | 28 |
slaxemulator@9314 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9314 | 30 genpkg_rules() |
slaxemulator@9314 | 31 { |
slaxemulator@9314 | 32 # sysconfdir |
slaxemulator@9314 | 33 mkdir -p $fs/etc |
slaxemulator@9314 | 34 cp -a $_pkg/etc/* $fs/etc |
slaxemulator@9314 | 35 # udev rules |
slaxemulator@9314 | 36 mkdir -p $fs/lib |
slaxemulator@9314 | 37 cp -a $_pkg/lib/udev $fs/lib |
slaxemulator@9314 | 38 # bin |
slaxemulator@9314 | 39 mkdir -p $fs/usr |
slaxemulator@9314 | 40 cp -a $_pkg/usr/sbin $fs/usr |
slaxemulator@9314 | 41 # var |
slaxemulator@9314 | 42 mkdir -p $fs/var |
slaxemulator@9314 | 43 cp -a $_pkg/var/lib $fs/var |
slaxemulator@9314 | 44 } |