summaryrefslogtreecommitdiff
path: root/package/logrotate/Makefile
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/logrotate/Makefile
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/logrotate/Makefile')
-rw-r--r--package/logrotate/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/package/logrotate/Makefile b/package/logrotate/Makefile
index 4d0ab1abb..7596927dc 100644
--- a/package/logrotate/Makefile
+++ b/package/logrotate/Makefile
@@ -9,14 +9,18 @@ PKG_NAME:= logrotate
PKG_VERSION:= 3.7.1
PKG_RELEASE:= 1
PKG_MD5SUM:= 552639142e163745f6bcd4f1f3816d8a
+PKG_DESCR:= logfile rotation utility
+PKG_SECTION:= misc
+PKG_DEPENDS:= libpopt
+PKG_SITES:= http://ftp.debian.org/debian/pool/main/l/logrotate/
+
DISTFILES:= ${PKG_NAME}_${PKG_VERSION}.orig.tar.gz
-MASTER_SITES:= http://ftp.debian.org/debian/pool/main/l/logrotate/
include ${TOPDIR}/mk/package.mk
-${eval ${call PKG_template,LOGROTATE,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE}}}
+$(eval $(call PKG_template,LOGROTATE,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-TCFLAGS+= -D_GNU_SOURCE -DLinux -DVERSION=\"$(VERSION)\"
+TCFLAGS+= -D_GNU_SOURCE -DLinux -DVERSION=\"$(PKG_VERSION)\"
ALL_TARGET= logrotate
BUILD_STYLE= auto