wok-next annotate ofono/receipt @ rev 15004
Add some LGPL2 licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 10 22:18:41 2013 +0000 (2013-08-10) |
parents | d7274e3b2cc0 |
children | 274af13ca754 |
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" |
pascal@15000 | 8 LICENSE="GPL2" |
slaxemulator@9314 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@9314 | 10 WEB_SITE="http://ofono.org" |
slaxemulator@9314 | 11 WGET_URL="http://www.kernel.org/pub/linux/network/$PACKAGE/$TARBALL" |
slaxemulator@9314 | 12 |
pascal@15000 | 13 DEPENDS="dbus glib udev" |
pascal@15000 | 14 BUILD_DEPENDS="dbus-dev udev-dev glib-dev" |
pascal@15000 | 15 |
slaxemulator@9314 | 16 # Rules to configure and make the package. |
slaxemulator@9314 | 17 compile_rules() |
slaxemulator@9314 | 18 { |
slaxemulator@9314 | 19 cd $src |
pascal@12675 | 20 find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|' |
slaxemulator@9314 | 21 ./configure \ |
slaxemulator@9314 | 22 --prefix=/usr \ |
slaxemulator@9314 | 23 --sysconfdir=/etc \ |
slaxemulator@9314 | 24 --localstatedir=/var \ |
slaxemulator@9314 | 25 --infodir=/usr/share/info \ |
slaxemulator@9314 | 26 --mandir=/usr/share/man \ |
slaxemulator@9314 | 27 $CONFIGURE_ARGS && |
pascal@15000 | 28 make && make DESTDIR=$DESTDIR install |
slaxemulator@9314 | 29 } |
slaxemulator@9314 | 30 |
slaxemulator@9314 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9314 | 32 genpkg_rules() |
slaxemulator@9314 | 33 { |
slaxemulator@9314 | 34 # sysconfdir |
slaxemulator@9314 | 35 mkdir -p $fs/etc |
pascal@15000 | 36 cp -a $install/etc/* $fs/etc |
slaxemulator@9314 | 37 # udev rules |
slaxemulator@9314 | 38 mkdir -p $fs/lib |
pascal@15000 | 39 cp -a $install/lib/udev $fs/lib |
slaxemulator@9314 | 40 # bin |
slaxemulator@9314 | 41 mkdir -p $fs/usr |
pascal@15000 | 42 cp -a $install/usr/sbin $fs/usr |
slaxemulator@9314 | 43 # var |
slaxemulator@9314 | 44 mkdir -p $fs/var |
pascal@15000 | 45 cp -a $install/var/lib $fs/var |
slaxemulator@9314 | 46 } |