summaryrefslogtreecommitdiff
path: root/package/bc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
commitba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd (patch)
tree10c726d162bc0ded85eb7aeacf8f246bd39ad63a /package/bc
parentbbd610f15a71b27c955175cb98392b114717fd47 (diff)
optimize ipkg package management
- generate ipkg control file from PKG_* variables - automatically install init scripts from ./files/*.init set #PKG pkgname to set the binary package - rename FWINIT -> INIT - move postinst and conffiles meta data to ./files - update the packages to the latest upstream version - remove some unready or unused package (strongswan,..) more cleanups needed after allmodconfig
Diffstat (limited to 'package/bc')
-rw-r--r--package/bc/Makefile9
-rw-r--r--package/bc/ipkg/bc.control4
-rw-r--r--package/bc/ipkg/dc.control4
3 files changed, 6 insertions, 11 deletions
diff --git a/package/bc/Makefile b/package/bc/Makefile
index 63f91c284..f70adad9f 100644
--- a/package/bc/Makefile
+++ b/package/bc/Makefile
@@ -9,12 +9,15 @@ PKG_NAME:= bc
PKG_VERSION:= 1.06
PKG_RELEASE:= 1
PKG_MD5SUM:= d44b5dddebd8a7a7309aea6c36fda117
-MASTER_SITES:= http://ftp.gnu.org/pub/gnu/bc/
+PKG_DESCR:= An arbitrary precision calculator language
+PKG_SECTION:= util
+PKG_URL:= http://www.gnu.org/software/bc
+PKG_SITES:= http://ftp.gnu.org/pub/gnu/bc/
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,BC,bc,${PKG_VERSION}-${PKG_RELEASE}))
-$(eval $(call PKG_template,DC,dc,${PKG_VERSION}-${PKG_RELEASE}))
+$(eval $(call PKG_template,BC,bc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,DC,dc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIGURE_STYLE= gnu
BUILD_STYLE= auto
diff --git a/package/bc/ipkg/bc.control b/package/bc/ipkg/bc.control
deleted file mode 100644
index e22ed5b7c..000000000
--- a/package/bc/ipkg/bc.control
+++ /dev/null
@@ -1,4 +0,0 @@
-Package: bc
-Priority: optional
-Section: util
-Description: An arbitrary precision calculator language
diff --git a/package/bc/ipkg/dc.control b/package/bc/ipkg/dc.control
deleted file mode 100644
index 1ef852500..000000000
--- a/package/bc/ipkg/dc.control
+++ /dev/null
@@ -1,4 +0,0 @@
-Package: dc
-Priority: optional
-Section: util
-Description: An arbitrary precision calculator