summaryrefslogtreecommitdiff
path: root/package/tinyproxy/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/tinyproxy/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/tinyproxy/Makefile')
-rw-r--r--package/tinyproxy/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/package/tinyproxy/Makefile b/package/tinyproxy/Makefile
index 6b2a65db7..9d2fa7637 100644
--- a/package/tinyproxy/Makefile
+++ b/package/tinyproxy/Makefile
@@ -9,11 +9,14 @@ PKG_NAME:= tinyproxy
PKG_VERSION:= 1.6.4
PKG_RELEASE:= 1
PKG_MD5SUM:= 3157b9159a8d005f4248cf4d4d6c65e2
-MASTER_SITES:= https://www.banu.com/pub/tinyproxy/1.6/
+PKG_DESCR:= Tinyproxy is a lightweight HTTP and HTTPS proxy.
+PKG_SECTION:= net
+PKG_URL:= https://www.banu.com/tinyproxy
+PKG_SITES:= https://www.banu.com/pub/tinyproxy/1.6/
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,TINYPROXY,tinyproxy,${PKG_VERSION}-${PKG_RELEASE}))
+$(eval $(call PKG_template,TINYPROXY,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIGURE_STYLE:= gnu
BUILD_STYLE:= auto
@@ -33,12 +36,10 @@ endif
post-install:
${INSTALL_DIR} ${IDIR_TINYPROXY}/usr/sbin \
${IDIR_TINYPROXY}/etc/tinyproxy \
- ${IDIR_TINYPROXY}/etc/init.d \
${IDIR_TINYPROXY}/usr/share/tinyproxy
${INSTALL_BIN} ${WRKINST}/usr/sbin/tinyproxy ${IDIR_TINYPROXY}/usr/sbin/
${INSTALL_DATA} ${WRKINST}/usr/share/tinyproxy/{debug,default,stats}.html ${IDIR_TINYPROXY}/usr/share/tinyproxy/
${INSTALL_DATA} ${WRKINST}/usr/share/tinyproxy/HTML_VARIABLES ${IDIR_TINYPROXY}/usr/share/tinyproxy/
${INSTALL_DATA} ${WRKINST}/etc/tinyproxy/tinyproxy.conf ${IDIR_TINYPROXY}/etc/tinyproxy/
- ${INSTALL_BIN} files/${PKG_NAME}.init ${IDIR_TINYPROXY}/etc/init.d/${PKG_NAME}
include ${TOPDIR}/mk/pkg-bottom.mk