mesa: update to 17.2.2
[openadk.git] / package / pptpd / Makefile
blob2213599480e93915be8216d79c6f197670de489b
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME:= pptpd
7 PKG_VERSION:= 1.3.4
8 PKG_RELEASE:= 2
9 PKG_HASH:= c23a9bdd219a0a36ae7ca20e7c9749f2efdcdbf108aabeeeb5066ba442ec88b6
10 PKG_DESCR:= point-to-point tunneling protocol server
11 PKG_SECTION:= net/ppp
12 PKG_DEPENDS:= ppp
13 PKG_KDEPENDS:= ppp ppp-mppe net-ipgre
14 PKG_URL:= http://www.poptop.org/
15 PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=poptop/}
17 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
19 PKG_LIBC_DEPENDS:= uclibc-ng glibc
21 include ${ADK_TOPDIR}/mk/package.mk
23 $(eval $(call PKG_template,PPTPD,pptpd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
25 TARGET_CFLAGS+= -fPIC -DSBINDIR='\\\"/usr/sbin\\\"'
26 FAKE_FLAGS+= INSTALL="install"
28 pptpd-install:
29 ${INSTALL_DIR} ${IDIR_PPTPD}/etc/ppp
30 ${INSTALL_DIR} ${IDIR_PPTPD}/usr/sbin
31 ${INSTALL_DATA} ./files/pptpd.conf ${IDIR_PPTPD}/etc/
32 ${INSTALL_DATA} ./files/options.pptpd ${IDIR_PPTPD}/etc/ppp/
33 ${INSTALL_BIN} ${WRKINST}/usr/sbin/pptpd \
34 ${WRKINST}/usr/sbin/pptpctrl ${IDIR_PPTPD}/usr/sbin/
36 include ${ADK_TOPDIR}/mk/pkg-bottom.mk