summaryrefslogtreecommitdiff
path: root/package/linux-atm/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-09-14 19:04:46 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-09-14 19:04:46 +0200
commit05d0076d97ed69a531df1aa5cde3a1e6ed17f922 (patch)
treee605e2d5de96fe9afe7ad8724fe57e9e5c5417e1 /package/linux-atm/Makefile
parenta2e96ddb9519a2f40857f11501b88e465d25082d (diff)
replace mksh scripts with faster C programs
depmaker and pkgmaker is replaced by C programs. scan-pkgs.sh will be replaced by another mechanism. scan-pkgs.sh is needed to recognize package flavour changes, so that a package is rebuild. Generation of meta-data is a lot faster now. Fix or add new PKG variables to fulfill the needs of the new programs. Documentation will follow as soon as it is stable.
Diffstat (limited to 'package/linux-atm/Makefile')
-rw-r--r--package/linux-atm/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/package/linux-atm/Makefile b/package/linux-atm/Makefile
index 6bee2916a..6ad57ae1a 100644
--- a/package/linux-atm/Makefile
+++ b/package/linux-atm/Makefile
@@ -8,23 +8,24 @@ PKG_VERSION:= 2.5.1
PKG_RELEASE:= 2
PKG_MD5SUM:= 9560b0e1f410a05b849dfdab465dd758
PKG_DESCR:= ATM library and tools for Linux
-PKG_SECTION:= route
-PKG_URL:= http://linux-atm.sourceforge.net
+PKG_SECTION:= libs
+PKG_URL:= http://linux-atm.sourceforge.net/
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=linux-atm/}
PKG_NOPARALLEL:= 1
PKG_HOST_DEPENDS:= !freebsd
-DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz
+PKG_SUBPKGS:= LIBATM BR2684CTL
+PKGSD_BR2684CTL:= br2684ctl ATM utility
+PKGSS_BR2684CTL:= libatm
+PKGSC_BR2684CTL:= route
-PKG_DESCR_1:= br2684ctl
-PKG_DEPENDS_1:= libatm
-PKG_SECTION_1:= net
+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,BR2684CTL,br2684ctl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS_1},${PKG_DESCR_1},${PKG_SECTION}))
+$(eval $(call PKG_template,BR2684CTL,br2684ctl,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_BR2684CTL},${PKGSD_BR2684CTL},${PKGSC_BR2684CTL}))
post-install:
${INSTALL_DIR} ${IDIR_LIBATM}/usr/lib