summaryrefslogtreecommitdiff
path: root/package/linux-atm
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-02-26 23:39:17 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-02-26 23:39:17 +0100
commit26f7c999e7c586eeb0eabeaf34ebbc9b3c145d7c (patch)
tree22f152f92d6c1e9c325583f46278a385ffefd38b /package/linux-atm
parent67cb0759e674470fa53fd3711d8460fd4a12c1a3 (diff)
another round of native compile fixes
Diffstat (limited to 'package/linux-atm')
-rw-r--r--package/linux-atm/Makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/package/linux-atm/Makefile b/package/linux-atm/Makefile
index 6ad57ae1a..2a83c583a 100644
--- a/package/linux-atm/Makefile
+++ b/package/linux-atm/Makefile
@@ -7,7 +7,7 @@ PKG_NAME:= linux-atm
PKG_VERSION:= 2.5.1
PKG_RELEASE:= 2
PKG_MD5SUM:= 9560b0e1f410a05b849dfdab465dd758
-PKG_DESCR:= ATM library and tools for Linux
+PKG_DESCR:= ATM library for Linux
PKG_SECTION:= libs
PKG_URL:= http://linux-atm.sourceforge.net/
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=linux-atm/}
@@ -15,7 +15,9 @@ PKG_NOPARALLEL:= 1
PKG_HOST_DEPENDS:= !freebsd
-PKG_SUBPKGS:= LIBATM BR2684CTL
+PKG_SUBPKGS:= LIBATM LIBATM_DEV BR2684CTL
+PKGSD_LIBATM_DEV:= ATM headers for Linux
+PKGSC_LIBATM_DEV:= devel
PKGSD_BR2684CTL:= br2684ctl ATM utility
PKGSS_BR2684CTL:= libatm
PKGSC_BR2684CTL:= route
@@ -25,11 +27,18 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBATM,libatm,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBATM_DEV,libatm-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBATM_DEV},${PKGSC_LIBATM_DEV}))
$(eval $(call PKG_template,BR2684CTL,br2684ctl,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_BR2684CTL},${PKGSD_BR2684CTL},${PKGSC_BR2684CTL}))
-post-install:
+libatm-install:
${INSTALL_DIR} ${IDIR_LIBATM}/usr/lib
${CP} ${WRKINST}/usr/lib/libatm.so* ${IDIR_LIBATM}/usr/lib
+
+libatm-dev-install:
+ ${INSTALL_DIR} ${IDIR_LIBATM_DEV}/usr/include
+ ${CP} ${WRKINST}/usr/include/* ${IDIR_LIBATM_DEV}/usr/include
+
+br2684ctl-install:
${INSTALL_DIR} ${IDIR_BR2684CTL}/usr/sbin
${CP} ${WRKINST}/usr/sbin/br2684ctl ${IDIR_BR2684CTL}/usr/sbin