aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/xl2tpd/xl2tpd.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/xl2tpd/xl2tpd.inc')
-rw-r--r--recipes/xl2tpd/xl2tpd.inc8
1 files changed, 6 insertions, 2 deletions
diff --git a/recipes/xl2tpd/xl2tpd.inc b/recipes/xl2tpd/xl2tpd.inc
index da47d7e90b..5649f97ae4 100644
--- a/recipes/xl2tpd/xl2tpd.inc
+++ b/recipes/xl2tpd/xl2tpd.inc
@@ -4,14 +4,16 @@ LICENSE = "GPLv2"
HOMEPAGE = "http://www.xelerance.com/software/xl2tpd/"
SECTION = "network"
-INC_PR = "r0"
+INC_PR = "r1"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
SRC_URI = "http://www.xelerance.com/software/xl2tpd/xl2tpd-${PV}.tar.gz"
S = "${WORKDIR}/xl2tpd-${PV}"
do_compile () {
- oe_runmake CFLAGS="${CFLAGS} -DLINUX" LDFLAGS="${LDFLAGS}" PREFIX="${prefix}" all
+ oe_runmake CFLAGS="${CFLAGS} -DLINUX" LDFLAGS="${LDFLAGS}" PREFIX="/usr" KERNELSRC=${STAGING_KERNEL_DIR} all
}
do_install () {
@@ -25,3 +27,5 @@ do_install () {
}
CONFFILES_${PN} += "${sysconfdir}/xl2tpd.conf ${sysconfdir}/default/xl2tpd"
+FILES_${PN} += "${bindir} ${sbindir}"
+FILES_${PN}-doc += "${sharedir}"