diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-05-30 20:39:07 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-05-30 20:39:07 +0200 |
commit | ba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd (patch) | |
tree | 10c726d162bc0ded85eb7aeacf8f246bd39ad63a /package/bogofilter/Makefile | |
parent | bbd610f15a71b27c955175cb98392b114717fd47 (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/bogofilter/Makefile')
-rw-r--r-- | package/bogofilter/Makefile | 35 |
1 files changed, 15 insertions, 20 deletions
diff --git a/package/bogofilter/Makefile b/package/bogofilter/Makefile index 5962fb3d8..1390a7a34 100644 --- a/package/bogofilter/Makefile +++ b/package/bogofilter/Makefile @@ -5,36 +5,31 @@ include ${TOPDIR}/rules.mk -PKG_NAME:= bogofilter -PKG_VERSION:= 1.1.3 +PKG_NAME:= bogofilter +PKG_VERSION:= 1.2.0 PKG_RELEASE:= 1 -PKG_MD5SUM:= a816f509324ccb9946a4d89fefe525e1 -MASTER_SITES:= http://ftp.debian.org/debian/pool/main/b/bogofilter/ -DISTFILES:= ${PKG_NAME}_${PKG_VERSION}.orig.tar.gz +PKG_MD5SUM:= 4bbc9adc30d4f8e3a547f9be18a1cb74 +PKG_DESCR:= mail filter +PKG_SECTION:= mail +PKG_DEPENDS:= libdb libiconv +PKG_URL:= http://bogofilter.sourceforge.net/ +PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=bogofilter/} include ${TOPDIR}/mk/package.mk -$(eval $(call PKG_template,BOGOFILTER,bogofilter,${PKG_VERSION}-${PKG_RELEASE})) +$(eval $(call PKG_template,BOGOFILTER,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -CONFIGURE_STYLE= gnu -CONFIGURE_ENV+= ac_cv_c_bigendian=no \ - ac_cv_sizeof_off_t=8 \ - ac_cv_sizeof_int=4 \ - ac_cv_sizeof_long=4 \ - LIBS="-liconv" +CONFIGURE_STYLE= autotool gnu +CONFIGURE_ENV+= LIBS="-liconv" CONFIGURE_ARGS+= --without-libsqlite3-prefix \ - --without-libqdbm-prefix \ - --with-included-gsl \ - --with-libdb-prefix=${STAGING_DIR}/usr \ - --disable-transactions -# --without-libdb-prefix + --without-libqdbm-prefix \ + --with-included-gsl \ + --with-libdb-prefix=${STAGING_DIR}/usr \ + --disable-transactions BUILD_STYLE= auto INSTALL_STYLE= auto -PKG_DEPENDS:= libdb libiconv - post-install: - echo 'Depends: ${PKG_DEPENDS}' >>${IDIR_BOGOFILTER}/CONTROL/control ${INSTALL_DIR} ${IDIR_BOGOFILTER}/usr/bin ${INSTALL_BIN} ${WRKINST}/usr/bin/${PKG_NAME} ${IDIR_BOGOFILTER}/usr/bin/ ifeq (${ADK_PACKAGE_BOGOFILTER_BOGOUTIL},y) |