blob: 8363c4b3316d5485b13921ecf5d41185989ac4be (
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
40
41
42
43
44
45
46
47
|
# 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:= capi4k-utils
PKG_VERSION:= 2005-07-18
PKG_RELEASE:= 1
PKG_MD5SUM:= c745759b6b3d64e19763727176648cdf
PKG_DESCR:= CAPI4Linux Utils
PKG_SECTION:= net/voip
PKG_URL:= ftp://ftp.in-berlin.de/pub/capi4linux/
PKG_SITES:= ftp://ftp.in-berlin.de/pub/capi4linux/
WRKDIST= ${WRKDIR}/${PKG_NAME}
include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,CAPI4K_UTILS,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIG_STYLE:= manual
XAKE_FLAGS+= PPPVERSIONS=2.4.5
do-configure:
echo "CONFIG_KERNELDIR='${LINUX_DIR}'" >${WRKDIST}/.config
echo "CONFIG_BINDIR='/usr/bin'" >>${WRKDIST}/.config
echo "CONFIG_SBINDIR='/usr/sbin'" >>${WRKDIST}/.config
echo "CONFIG_MANDIR='/usr/man'" >>${WRKDIST}/.config
#echo "CONFIG_AVMCAPICTRL=y" >>${WRKDIST}/.config
#echo "CONFIG_CAPIFAX=y" >>${WRKDIST}/.config
echo "CONFIG_RCAPID=y" >>${WRKDIST}/.config
echo "CONFIG_PPPDCAPIPLUGIN=y" >>${WRKDIST}/.config
(cd ${WRKDIST}; \
cp Makefile Makefile.tmp; \
${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} -f Makefile.tmp subconfig; \
rm -f Makefile.tmp; \
)
post-install:
$(INSTALL_DIR) $(IDIR_CAPI4K_UTILS)/usr/{bin,lib/pppd/2.4.5}
$(INSTALL_BIN) $(WRKINST)/usr/bin/capiinfo \
$(IDIR_CAPI4K_UTILS)/usr/bin
${CP} $(WRKINST)/usr/lib/libcapi20.so* \
$(IDIR_CAPI4K_UTILS)/usr/lib
$(INSTALL_DATA) $(WRKINST)/usr/lib/pppd/2.4.5/*.so \
$(IDIR_CAPI4K_UTILS)/usr/lib/pppd/2.4.5
include ${ADK_TOPDIR}/mk/pkg-bottom.mk
|