summaryrefslogtreecommitdiff
path: root/package/tinyproxy/Makefile
blob: e7c30c09cb0ff436ecb9d162b4cf5badeac7a3e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include ${ADK_TOPDIR}/rules.mk

PKG_NAME:=		tinyproxy
PKG_VERSION:=		1.8.3
PKG_RELEASE:=		2
PKG_HASH:=		682416c8f0f733a8106c87bb395c631222569751fe4617bc381d0499b0f0c017
PKG_DESCR:=		lightweight http and https proxy
PKG_SECTION:=		net/proxy
PKG_URL:=		https://www.banu.com/tinyproxy/
PKG_SITES:=		https://www.banu.com/pub/tinyproxy/1.8/

DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.gz

include ${ADK_TOPDIR}/mk/package.mk

$(eval $(call PKG_template,TINYPROXY,tinyproxy,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

AUTOTOOL_STYLE:=	autoreconf
CONFIGURE_ARGS+=	--disable-regexcheck

tinyproxy-install:
	${INSTALL_DIR} ${IDIR_TINYPROXY}/usr/sbin \
		       ${IDIR_TINYPROXY}/etc/tinyproxy \
		       ${IDIR_TINYPROXY}/usr/share/tinyproxy
	${INSTALL_DATA} ./files/tinyproxy.conf \
		${IDIR_TINYPROXY}/etc/tinyproxy
	${INSTALL_BIN} ${WRKINST}/usr/sbin/tinyproxy \
		${IDIR_TINYPROXY}/usr/sbin/
	${INSTALL_DATA} ${WRKINST}/usr/share/tinyproxy/debug.html \
		${IDIR_TINYPROXY}/usr/share/tinyproxy/
	${INSTALL_DATA} ${WRKINST}/usr/share/tinyproxy/default.html \
		${IDIR_TINYPROXY}/usr/share/tinyproxy/
	${INSTALL_DATA} ${WRKINST}/usr/share/tinyproxy/stats.html \
		${IDIR_TINYPROXY}/usr/share/tinyproxy/

include ${ADK_TOPDIR}/mk/pkg-bottom.mk