openvpn: update to 2.4.3
[openadk.git] / package / capi4k-utils / Makefile
blob0ac58e978328735d79ae33e01c68361049721c56
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:= capi4k-utils
7 PKG_VERSION:= 2005-07-18
8 PKG_RELEASE:= 1
9 PKG_HASH:= b162d726a31310fc29e7c0a25a4f82a590457f6a95c1b1168bcd72b6497b5746
10 PKG_DESCR:= capi4linux utils
11 PKG_SECTION:= net/voip
12 PKG_SITES:= ftp://ftp.in-berlin.de/pub/capi4linux/
14 PKG_CFLINE_CAPI4K_UTILS:=depends on ADK_BROKEN
16 DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
17 WRKDIST= $(WRKDIR)/$(PKG_NAME)
19 include $(ADK_TOPDIR)/mk/package.mk
21 $(eval $(call PKG_template,CAPI4K_UTILS,capi4k-utils,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
23 CONFIG_STYLE:= manual
24 XAKE_FLAGS+= PPPVERSIONS=2.4.5
26 do-configure:
27 echo "CONFIG_KERNELDIR='$(LINUX_DIR)'" >$(WRKDIST)/.config
28 echo "CONFIG_BINDIR='/usr/bin'" >>$(WRKDIST)/.config
29 echo "CONFIG_SBINDIR='/usr/sbin'" >>$(WRKDIST)/.config
30 echo "CONFIG_MANDIR='/usr/man'" >>$(WRKDIST)/.config
31 echo "CONFIG_RCAPID=y" >>$(WRKDIST)/.config
32 echo "CONFIG_PPPDCAPIPLUGIN=y" >>$(WRKDIST)/.config
33 (cd $(WRKDIST); \
34 cp Makefile Makefile.tmp; \
35 $(MAKE_ENV) $(MAKE) $(MAKE_FLAGS) -f Makefile.tmp subconfig; \
36 rm -f Makefile.tmp; \
39 capi4k-utils-install:
40 $(INSTALL_DIR) $(IDIR_CAPI4K_UTILS)/usr/{bin,lib/pppd/2.4.5}
41 $(INSTALL_BIN) $(WRKINST)/usr/bin/capiinfo \
42 $(IDIR_CAPI4K_UTILS)/usr/bin
43 $(CP) $(WRKINST)/usr/lib/libcapi20.so* \
44 $(IDIR_CAPI4K_UTILS)/usr/lib
45 $(INSTALL_DATA) $(WRKINST)/usr/lib/pppd/2.4.5/*.so \
46 $(IDIR_CAPI4K_UTILS)/usr/lib/pppd/2.4.5
48 include $(ADK_TOPDIR)/mk/pkg-bottom.mk