diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-02-28 10:11:11 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-02-28 10:14:39 +0100 |
commit | 3b7e950a2a226d1344e78da8fb10e3cdb92f37a0 (patch) | |
tree | 2bda2f5203b3833e77529fe96884d56e69c8fca3 /package/capi4k-utils | |
parent | 23cfddf360edbac12473a5c6f9e2d85b12992bb3 (diff) |
cleanup phil's submissions
- use () instead of {} in make variables for now
- use PKG_HASH instead of PKG_MD5SUM
- update to latest upstream versions
- use a newline between PKG_* variables and DISTFILES
- use <pkgname>-install instead of post-install
- use lowercase description texts only
- fix some missing PKG_BUILDDEP
- elfutils needs argp, which is not available in uClibc-ng, yet
- PKG_HASH is not required for git sources
Diffstat (limited to 'package/capi4k-utils')
-rw-r--r-- | package/capi4k-utils/Makefile | 37 |
1 files changed, 19 insertions, 18 deletions
diff --git a/package/capi4k-utils/Makefile b/package/capi4k-utils/Makefile index 8363c4b33..0ac58e978 100644 --- a/package/capi4k-utils/Makefile +++ b/package/capi4k-utils/Makefile @@ -6,42 +6,43 @@ 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_HASH:= b162d726a31310fc29e7c0a25a4f82a590457f6a95c1b1168bcd72b6497b5746 +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} + +PKG_CFLINE_CAPI4K_UTILS:=depends on ADK_BROKEN + +DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz +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})) +$(eval $(call PKG_template,CAPI4K_UTILS,capi4k-utils,$(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}; \ + 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_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; \ + $(MAKE_ENV) $(MAKE) $(MAKE_FLAGS) -f Makefile.tmp subconfig; \ rm -f Makefile.tmp; \ ) -post-install: +capi4k-utils-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* \ + $(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 +include $(ADK_TOPDIR)/mk/pkg-bottom.mk |