wok diff ofono/receipt @ rev 15158
gmerlin: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 17:45:49 2013 +0000 (2013-08-15) |
parents | d7274e3b2cc0 |
children | 274af13ca754 |
line diff
1.1 --- a/ofono/receipt Tue May 01 13:35:41 2012 +0200 1.2 +++ b/ofono/receipt Thu Aug 15 17:45:49 2013 +0000 1.3 @@ -5,12 +5,14 @@ 1.4 CATEGORY="network" 1.5 SHORT_DESC="Stack for mobile telephony (GSM/UMTS) applications." 1.6 MAINTAINER="slaxemulator@gmail.com" 1.7 -DEPENDS="dbus glib udev" 1.8 -BUILD_DEPENDS="dbus-dev udev-dev glib-dev" 1.9 +LICENSE="GPL2" 1.10 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.11 WEB_SITE="http://ofono.org" 1.12 WGET_URL="http://www.kernel.org/pub/linux/network/$PACKAGE/$TARBALL" 1.13 1.14 +DEPENDS="dbus glib udev" 1.15 +BUILD_DEPENDS="dbus-dev udev-dev glib-dev" 1.16 + 1.17 # Rules to configure and make the package. 1.18 compile_rules() 1.19 { 1.20 @@ -23,7 +25,7 @@ 1.21 --infodir=/usr/share/info \ 1.22 --mandir=/usr/share/man \ 1.23 $CONFIGURE_ARGS && 1.24 - make && make DESTDIR=$PWD/_pkg install 1.25 + make && make DESTDIR=$DESTDIR install 1.26 } 1.27 1.28 # Rules to gen a SliTaz package suitable for Tazpkg. 1.29 @@ -31,14 +33,14 @@ 1.30 { 1.31 # sysconfdir 1.32 mkdir -p $fs/etc 1.33 - cp -a $_pkg/etc/* $fs/etc 1.34 + cp -a $install/etc/* $fs/etc 1.35 # udev rules 1.36 mkdir -p $fs/lib 1.37 - cp -a $_pkg/lib/udev $fs/lib 1.38 + cp -a $install/lib/udev $fs/lib 1.39 # bin 1.40 mkdir -p $fs/usr 1.41 - cp -a $_pkg/usr/sbin $fs/usr 1.42 + cp -a $install/usr/sbin $fs/usr 1.43 # var 1.44 mkdir -p $fs/var 1.45 - cp -a $_pkg/var/lib $fs/var 1.46 + cp -a $install/var/lib $fs/var 1.47 }