summaryrefslogtreecommitdiff
path: root/package/linux-atm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/linux-atm/Makefile')
-rw-r--r--package/linux-atm/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/package/linux-atm/Makefile b/package/linux-atm/Makefile
index 2a83c583a..525f14b35 100644
--- a/package/linux-atm/Makefile
+++ b/package/linux-atm/Makefile
@@ -12,12 +12,12 @@ PKG_SECTION:= libs
PKG_URL:= http://linux-atm.sourceforge.net/
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=linux-atm/}
PKG_NOPARALLEL:= 1
+PKG_LIBNAME:= libatm
+PKG_OPTS:= dev
PKG_HOST_DEPENDS:= !freebsd
-PKG_SUBPKGS:= LIBATM LIBATM_DEV BR2684CTL
-PKGSD_LIBATM_DEV:= ATM headers for Linux
-PKGSC_LIBATM_DEV:= devel
+PKG_SUBPKGS:= LIBATM BR2684CTL
PKGSD_BR2684CTL:= br2684ctl ATM utility
PKGSS_BR2684CTL:= libatm
PKGSC_BR2684CTL:= route
@@ -26,18 +26,13 @@ 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,LIBATM,libatm,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
$(eval $(call PKG_template,BR2684CTL,br2684ctl,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_BR2684CTL},${PKGSD_BR2684CTL},${PKGSC_BR2684CTL}))
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