[oe-commits] Koen Kooi : ppp: convert to new style staging
git version control
git at git.openembedded.org
Sun Mar 28 17:27:19 UTC 2010
Module: openembedded.git
Branch: shr/unstable
Commit: af74c43f0fd7494d843e66f27e1a98448ee9c723
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=af74c43f0fd7494d843e66f27e1a98448ee9c723
Author: Koen Kooi <koen at openembedded.org>
Date: Sun Mar 28 15:23:29 2010 +0200
ppp: convert to new style staging
---
recipes/ppp/ppp_2.4.3.bb | 7 ++-----
recipes/ppp/ppp_2.4.4.bb | 5 +----
2 files changed, 3 insertions(+), 9 deletions(-)
diff --git a/recipes/ppp/ppp_2.4.3.bb b/recipes/ppp/ppp_2.4.3.bb
index 4c7b168..6936dd9 100644
--- a/recipes/ppp/ppp_2.4.3.bb
+++ b/recipes/ppp/ppp_2.4.3.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "Point-to-Point Protocol (PPP) daemon"
HOMEPAGE = "http://samba.org/ppp/"
DEPENDS = "libpcap"
LICENSE = "BSD GPLv2"
-PR = "r7"
+PR = "r8"
SRC_URI = "http://ppp.samba.org/ftp/ppp/ppp-${PV}.tar.gz \
file://ppp-2.4.3-mppe-mppc-1.1.patch;patch=1 \
@@ -30,11 +30,8 @@ inherit autotools
EXTRA_OEMAKE = "STRIPPROG=${STRIP} MANDIR=${D}${datadir}/man/man8 INCDIR=${D}/usr/include LIBDIR=${D}/usr/lib/pppd/${PV} BINDIR=${D}/usr/sbin"
EXTRA_OECONF = "--disable-strip"
-do_stage () {
- make INCDIR=${STAGING_INCDIR} install-devel
-}
-
do_install_append () {
+ make INCDIR=${includedir} install-devel
make install-etcppp ETCDIR=${D}/${sysconfdir}/ppp
mkdir -p ${D}${bindir}/ ${D}${sysconfdir}/init.d
mkdir -p ${D}${sysconfdir}/ppp/ip-up.d/
diff --git a/recipes/ppp/ppp_2.4.4.bb b/recipes/ppp/ppp_2.4.4.bb
index b76a0c2..81ec3e0 100644
--- a/recipes/ppp/ppp_2.4.4.bb
+++ b/recipes/ppp/ppp_2.4.4.bb
@@ -32,11 +32,8 @@ inherit autotools
EXTRA_OEMAKE = "STRIPPROG=${STRIP} MANDIR=${D}${datadir}/man/man8 INCDIR=${D}${includedir} LIBDIR=${D}${libdir}/pppd/${PV} BINDIR=${D}${sbindir}"
EXTRA_OECONF = "--disable-strip"
-do_stage () {
- make INCDIR=${STAGING_INCDIR} install-devel
-}
-
do_install_append () {
+ make INCDIR=${includedir} install-devel
make install-etcppp ETCDIR=${D}/${sysconfdir}/ppp
mkdir -p ${D}${bindir}/ ${D}${sysconfdir}/init.d
mkdir -p ${D}${sysconfdir}/ppp/ip-up.d/
More information about the Openembedded-commits
mailing list