summaryrefslogtreecommitdiff
path: root/package/srelay/Makefile
blob: b1f772faa8ebe9a30833f017537718043c5e4253 (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
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include ${TOPDIR}/rules.mk

PKG_NAME:=		srelay
PKG_VERSION:=		0.4.7b2
PKG_RELEASE:=		1
PKG_MD5SUM:=		73904ecbb5d305135b3e8907ce7d0513
PKG_DESCR:=		A socks 4/5 proxy server
PKG_SECTION:=		net
PKG_SITES:=		${MASTER_SITE_SOURCEFORGE:=socks-relay/}

include ${TOPDIR}/mk/package.mk

$(eval $(call PKG_template,SRELAY,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

INSTALL_STYLE:=		manual

CONFIGURE_ENV+=		ac_cv_lib_nsl_getaddrinfo=no
CONFIGURE_ARGS+=	--disable-thread \
			--with-libwrap=no

do-install:
	${INSTALL_DIR} ${IDIR_SRELAY}/usr/bin ${IDIR_SRELAY}/etc
	${INSTALL_DATA} ./files/srelay.conf ${IDIR_SRELAY}/etc
	${INSTALL_BIN} ${WRKBUILD}/srelay ${IDIR_SRELAY}/usr/bin

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