From ba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 30 May 2009 20:39:07 +0200 Subject: 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 --- package/logrotate/Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'package/logrotate/Makefile') 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 -- cgit v1.2.3