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 | |
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
25 files changed, 274 insertions, 282 deletions
diff --git a/package/aufs-util/Makefile b/package/aufs-util/Makefile index e00b5bdde..fc57c7bb6 100644 --- a/package/aufs-util/Makefile +++ b/package/aufs-util/Makefile @@ -7,38 +7,38 @@ PKG_NAME:= aufs-util # branch aufs3.x-rcN (of around June 6th, 2014) PKG_VERSION:= a0eb20c75c07299bfc50c3d80023e1d22c86b4cc PKG_RELEASE:= 1 -PKG_HASH:= asdf PKG_DESCR:= aufs utilities (version 3 and above) PKG_SECTION:= sys/fs PKG_URL:= http://aufs.sf.net/ PKG_SITES:= git://aufs.git.sourceforge.net/gitroot/aufs/aufs-util -PKG_HOST_DEPENDS:= !cygwin !freebsd !openbsd !netbsd - PKG_SUBPKGS:= AUFS_UTIL LIBAU PKGSD_LIBAU:= aufs userspace library +PKGSC_LIBAU:= libs/misc include $(ADK_TOPDIR)/mk/package.mk -$(eval $(call PKG_template,AUFS_UTIL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -$(eval $(call PKG_template,LIBAU,libau,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBAU},${PKG_SECTION})) +$(eval $(call PKG_template,AUFS_UTIL,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION))) +$(eval $(call PKG_template,LIBAU,libau,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKGSD_LIBAU),$(PKGSC_LIBAU))) CONFIG_STYLE:= manual XAKE_FLAGS+= Install=install \ - HOSTCC="${HOST_CC}" \ - CPPFLAGS_FOR_BUILD="-I${STAGING_TARGET_DIR}/usr/include -I./libau" + HOSTCC="$(HOST_CC)" \ + CPPFLAGS_FOR_BUILD="-I$(STAGING_TARGET_DIR)/usr/include -I./libau" -post-install: +aufs-util-install: $(INSTALL_DIR) $(IDIR_AUFS_UTIL)/sbin - $(INSTALL_BIN) ${WRKINST}/sbin/{{u,}mount.aufs,auplink} \ + $(INSTALL_BIN) $(WRKINST)/sbin/{{u,}mount.aufs,auplink} \ $(IDIR_AUFS_UTIL)/sbin $(INSTALL_DIR) $(IDIR_AUFS_UTIL)/usr/bin - $(INSTALL_BIN) ${WRKINST}/usr/bin/au{brsync,chk} \ + $(INSTALL_BIN) $(WRKINST)/usr/bin/au{brsync,chk} \ $(IDIR_AUFS_UTIL)/usr/bin $(INSTALL_DIR) $(IDIR_AUFS_UTIL)/etc/default - $(INSTALL_DATA) ${WRKINST}/etc/default/aufs \ + $(INSTALL_DATA) $(WRKINST)/etc/default/aufs \ $(IDIR_AUFS_UTIL)/etc/default + +libau-install: $(INSTALL_DIR) $(IDIR_LIBAU)/usr/lib - ${CP} ${WRKINST}/usr/lib/libau* ${IDIR_LIBAU}/usr/lib + $(CP) $(WRKINST)/usr/lib/libau* $(IDIR_LIBAU)/usr/lib -include ${ADK_TOPDIR}/mk/pkg-bottom.mk +include $(ADK_TOPDIR)/mk/pkg-bottom.mk 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 diff --git a/package/crda/Makefile b/package/crda/Makefile index e7486dffb..2b1d3a09f 100644 --- a/package/crda/Makefile +++ b/package/crda/Makefile @@ -4,25 +4,26 @@ include $(ADK_TOPDIR)/rules.mk PKG_NAME:= crda -PKG_VERSION:= 1.1.2 +PKG_VERSION:= 1.1.3 PKG_RELEASE:= 1 -PKG_MD5SUM:= 5226f65aebacf94baaf820f8b4e06df4 -PKG_DESCR:= Central Regulatory Domain Agent for wireless networks +PKG_HASH:= aa8a7fe92f0765986c421a5b6768a185375ac210393df0605ee132f6754825f0 +PKG_DESCR:= central regulatory domain agent for wireless networks PKG_SECTION:= net/wifi PKG_DEPENDS:= libnl PKG_BUILDDEP:= libnl PKG_URL:= http://wireless.kernel.org/en/developers/Regulatory PKG_SITES:= http://linuxwireless.org/download/crda/ -DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2 -PKG_FLAVOURS_CRDA:= WITH_UDEV -PKGFD_WITH_UDEV:= install shipped UDEV rules +DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2 + +PKG_FLAVOURS_CRDA:= WITH_UDEV +PKGFD_WITH_UDEV:= install shipped udev rules PKGFS_WITH_UDEV:= udev -PKGFB_WITH_UDEV:= udev +PKGFB_WITH_UDEV:= eudev PKG_CHOICES_CRDA:= WITH_OPENSSL WITH_GCRYPT -PKGCD_WITH_OPENSSL:= SSL support via OpenSSL library -PKGCD_WITH_GCRYPT:= SSL support via GCRYPT library +PKGCD_WITH_OPENSSL:= ssl support via openssl library +PKGCD_WITH_GCRYPT:= ssl support via gcrypt library PKGCB_WITH_OPENSSL:= openssl PKGCB_WITH_GCRYPT:= libgcrypt PKGCS_WITH_OPENSSL:= libopenssl @@ -30,23 +31,23 @@ PKGCS_WITH_GCRYPT:= libgcrypt include $(ADK_TOPDIR)/mk/package.mk -$(eval $(call PKG_template,CRDA,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +$(eval $(call PKG_template,CRDA,crda,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION))) CONFIG_STYLE:= manual ALL_TARGET:= all_noverify -ifneq (${ADK_PACKAGE_CRDA_WITH_OPENSSL},) +ifneq ($(ADK_PACKAGE_CRDA_WITH_OPENSSL),) XAKE_FLAGS+= USE_OPENSSL=1 endif -post-install: +crda-install: $(INSTALL_DIR) $(IDIR_CRDA)/usr/sbin $(INSTALL_BIN) $(WRKINST)/sbin/{crda,regdbdump} \ $(IDIR_CRDA)/usr/sbin -ifneq (${ADK_PACKAGE_CRDA_WITH_UDEV},) +ifneq ($(ADK_PACKAGE_CRDA_WITH_UDEV),) $(INSTALL_DIR) $(IDIR_CRDA)/lib/udev/rules.d - ${INSTALL_DATA} ${WRKINST}/lib/udev/rules.d/85-regulatory.rules \ - ${IDIR_CRDA}/lib/udev/rules.d + $(INSTALL_DATA) $(WRKINST)/lib/udev/rules.d/85-regulatory.rules \ + $(IDIR_CRDA)/lib/udev/rules.d endif -include ${ADK_TOPDIR}/mk/pkg-bottom.mk +include $(ADK_TOPDIR)/mk/pkg-bottom.mk diff --git a/package/elfutils/Makefile b/package/elfutils/Makefile index 9e864b808..825ab10eb 100644 --- a/package/elfutils/Makefile +++ b/package/elfutils/Makefile @@ -7,27 +7,31 @@ PKG_NAME:= elfutils PKG_VERSION:= 0.161 PKG_RELEASE:= 1 PKG_HASH:= 570c91a1783fa5386aaa2dfdd08dda1de777c2b63bf3b9c1437d635ffdd7a070 -PKG_DESCR:= Libraries/utilities to handle ELF objects (drop in replacement for libelf) +PKG_DESCR:= libraries/utilities to handle elf objects (drop in replacement for libelf) PKG_SECTION:= base/libs PKG_URL:= https://fedorahosted.org/elfutils/ -PKG_SITES:= https://fedorahosted.org/releases/e/l/elfutils/${PKG_VERSION}/ -DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2 +PKG_SITES:= https://fedorahosted.org/releases/e/l/elfutils/$(PKG_VERSION)/ + +# require argp() +PKG_LIBC_DEPENDS:= glibc + +DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2 include $(ADK_TOPDIR)/mk/package.mk -$(eval $(call PKG_template,ELFUTILS,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +$(eval $(call PKG_template,ELFUTILS,elfutils,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION))) # not only because we pass -DNDEBUG, this package won't build with -Werror TARGET_CFLAGS+= -Wno-error -post-install: +elfutils-install: $(INSTALL_DIR) $(IDIR_ELFUTILS)/usr/lib/elfutils - ${CP} ${WRKINST}/usr/lib/lib{asm,dw,elf}*.so* \ - ${IDIR_ELFUTILS}/usr/lib - ${CP} ${WRKINST}/usr/lib/elfutils/libebl*.so \ - ${IDIR_ELFUTILS}/usr/lib/elfutils - ${INSTALL_DIR} ${IDIR_ELFUTILS}/usr/bin - ${INSTALL_BIN} ${WRKINST}/usr/bin/* \ - ${IDIR_ELFUTILS}/usr/bin - -include ${ADK_TOPDIR}/mk/pkg-bottom.mk + $(CP) $(WRKINST)/usr/lib/lib{asm,dw,elf}*.so* \ + $(IDIR_ELFUTILS)/usr/lib + $(CP) $(WRKINST)/usr/lib/elfutils/libebl*.so \ + $(IDIR_ELFUTILS)/usr/lib/elfutils + $(INSTALL_DIR) $(IDIR_ELFUTILS)/usr/bin + $(INSTALL_BIN) $(WRKINST)/usr/bin/* \ + $(IDIR_ELFUTILS)/usr/bin + +include $(ADK_TOPDIR)/mk/pkg-bottom.mk diff --git a/package/hwids/Makefile b/package/hwids/Makefile index e17c08b31..ceeca3a72 100644 --- a/package/hwids/Makefile +++ b/package/hwids/Makefile @@ -7,28 +7,28 @@ PKG_NAME:= hwids PKG_VERSION:= 20150129 PKG_RELEASE:= 1 PKG_HASH:= 33a7f4dbf14704076b0fe1d0052e86bb618e386a1ff18107097311df44f979d7 -PKG_DESCR:= Combined repository of pci.ids and usb.ids +PKG_DESCR:= combined repository of pci.ids and usb.ids PKG_SECTION:= sys/hw PKG_URL:= https://github.com/gentoo/hwids PKG_SITES:= https://github.com/gentoo/hwids/archive/ -DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz +DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz # typical problem of having tags like '<name>-<version>' in github -WRKDIST= ${WRKDIR}/${PKG_NAME}-${PKG_NAME}-${PKG_VERSION} +WRKDIST= $(WRKDIR)/$(PKG_NAME)-$(PKG_NAME)-$(PKG_VERSION) PKG_SUBPKGS:= HWIDS_NET HWIDS_PCI HWIDS_USB PKGSD_HWIDS_NET:= HWIDS files oui.txt and iab.txt PKGSD_HWIDS_PCI:= HWIDS file pci.ids PKGSD_HWIDS_USB:= HWIDS file usb.ids -PKG_FLAVOURS_PKGNAME:= WITH_GZIP +PKG_FLAVOURS_HWIDS:= WITH_GZIP PKGFD_WITH_GZIP:= gzip pci.ids and usb.ids before installation include $(ADK_TOPDIR)/mk/package.mk -$(eval $(call PKG_template,HWIDS_NET,hwids-net,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_HWIDS_NET},${PKG_SECTION})) -$(eval $(call PKG_template,HWIDS_PCI,hwids-pci,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_HWIDS_PCI},${PKG_SECTION})) -$(eval $(call PKG_template,HWIDS_USB,hwids-usb,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_HWIDS_USB},${PKG_SECTION})) +$(eval $(call PKG_template,HWIDS_NET,hwids-net,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKGSD_HWIDS_NET),$(PKG_SECTION))) +$(eval $(call PKG_template,HWIDS_PCI,hwids-pci,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKGSD_HWIDS_PCI),$(PKG_SECTION))) +$(eval $(call PKG_template,HWIDS_USB,hwids-usb,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKGSD_HWIDS_USB),$(PKG_SECTION))) CONFIG_STYLE:= manual XAKE_FLAGS+= NET=yes \ @@ -38,19 +38,19 @@ XAKE_FLAGS+= NET=yes \ # note: Can't pass GZIP=yes to make, as this will turn it # into an env var automatically which makes gzip trip. # Therefore assume here that GZIP=yes is the default. -ifneq (${ADK_PACKAGE_HWIDS_WITH_GZIP},y) +ifneq ($(ADK_PACKAGE_HWIDS_WITH_GZIP),y) XAKE_FLAGS+= GZIP=no endif define HWIDS_INSTALL_template $(2)-install: - $${INSTALL_DIR} $${IDIR_$(1)}/usr/share/misc - $${INSTALL_DATA} $$(patsubst %,$${WRKINST}/usr/share/misc/%,$(3)) \ - $${IDIR_$(1)}/usr/share/misc/ + $$(INSTALL_DIR) $$(IDIR_$(1))/usr/share/misc + $$(INSTALL_DATA) $$(patsubst %,$$(WRKINST)/usr/share/misc/%,$(3)) \ + $$(IDIR_$(1))/usr/share/misc/ endef $(eval $(call HWIDS_INSTALL_template,HWIDS_NET,hwids-net,oui.txt iab.txt)) -ifeq (${ADK_PACKAGE_HWIDS_WITH_GZIP},y) +ifeq ($(ADK_PACKAGE_HWIDS_WITH_GZIP),y) $(eval $(call HWIDS_INSTALL_template,HWIDS_PCI,hwids-pci,pci.ids.gz)) $(eval $(call HWIDS_INSTALL_template,HWIDS_USB,hwids-usb,usb.ids.gz)) else @@ -58,4 +58,4 @@ $(eval $(call HWIDS_INSTALL_template,HWIDS_PCI,hwids-pci,pci.ids)) $(eval $(call HWIDS_INSTALL_template,HWIDS_USB,hwids-usb,usb.ids)) endif -include ${ADK_TOPDIR}/mk/pkg-bottom.mk +include $(ADK_TOPDIR)/mk/pkg-bottom.mk diff --git a/package/i2400m-fw/Makefile b/package/i2400m-fw/Makefile index ff2ab45af..85aef1ecd 100644 --- a/package/i2400m-fw/Makefile +++ b/package/i2400m-fw/Makefile @@ -7,15 +7,16 @@ PKG_NAME:= i2400m-fw PKG_VERSION:= 1.5.0 PKG_RELEASE:= 1 PKG_HASH:= edcb7c5322c0185173a2dc79b3df4bc74964edfa741ebf9a09cd70a32d758c3d -PKG_DESCR:= Intel (R) WiMAX 5150/5350/6250 Firmware -PKG_SECTION:= net/misc +PKG_DESCR:= intel (R) wimax 5150/5350/6250 firmware +PKG_SECTION:= sys/firmware PKG_URL:= http://www.linuxwimax.org PKG_SITES:= "http://www.linuxwimax.org/Download?action=AttachFile&do=get&target=" -DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2 + +DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2 include $(ADK_TOPDIR)/mk/package.mk -$(eval $(call PKG_template,I2400M_FW,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +$(eval $(call PKG_template,I2400M_FW,i2400m-fw,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION))) CONFIG_STYLE:= manual BUILD_STYLE:= manual @@ -26,4 +27,4 @@ do-install: $(INSTALL_DATA) $(WRKDIST)/*-fw-usb-*.sbcf \ $(IDIR_I2400M_FW)/lib/firmware/ -include ${ADK_TOPDIR}/mk/pkg-bottom.mk +include $(ADK_TOPDIR)/mk/pkg-bottom.mk diff --git a/package/inotify-tools/Makefile b/package/inotify-tools/Makefile index a5c0773c8..82ea714d4 100644 --- a/package/inotify-tools/Makefile +++ b/package/inotify-tools/Makefile @@ -6,30 +6,36 @@ include $(ADK_TOPDIR)/rules.mk PKG_NAME:= inotify-tools PKG_VERSION:= 3.14 PKG_RELEASE:= 1 -PKG_MD5SUM:= b43d95a0fa8c45f8bab3aec9672cf30c -PKG_DESCR:= Command line programs providing a simple interface to inotify +PKG_HASH:= 222bcca8893d7bf8a1ce207fb39ceead5233b5015623d099392e95197676c92f +PKG_DESCR:= command line programs providing a simple interface to inotify PKG_SECTION:= sys/fs PKG_URL:= https://github.com/rvoicilas/inotify-tools/wiki PKG_SITES:= http://github.com/downloads/rvoicilas/inotify-tools/ +DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz + PKG_SUBPKGS:= INOTIFYWAIT INOTIFYWATCH LIBINOTIFYTOOLS -PKGSC_LIBINOTIFYTOOLS:= libs/fs -PKGSD_INOTIFYWAIT:= Wait for changes to files using inotify -PKGSD_INOTIFYWATCH:= Gather filesystem access statistics using inotify -PKGSD_LIBINOTIFYTOOLS:= Inotify tools library +PKGSC_LIBINOTIFYTOOLS:= libs/misc +PKGSD_INOTIFYWAIT:= wait for changes to files using inotify +PKGSD_INOTIFYWATCH:= gather filesystem access statistics using inotify +PKGSD_LIBINOTIFYTOOLS:= inotify tools library include $(ADK_TOPDIR)/mk/package.mk -$(eval $(call PKG_template,INOTIFYWAIT,inotifywait,$(PKG_VERSION)-${PKG_RELEASE},libinotifytools,${PKGSD_INOTIFYWAIT},${PKG_SECTION})) -$(eval $(call PKG_template,INOTIFYWATCH,inotifywatch,$(PKG_VERSION)-${PKG_RELEASE},libinotifytools,${PKGSD_INOTIFYWATCH},${PKG_SECTION})) -$(eval $(call PKG_template,LIBINOTIFYTOOLS,libinotifytools,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBINOTIFYTOOLS},${PKGSC_LIBINOTIFYTOOLS})) +$(eval $(call PKG_template,INOTIFYWAIT,inotifywait,$(PKG_VERSION)-$(PKG_RELEASE),libinotifytools,$(PKGSD_INOTIFYWAIT),$(PKG_SECTION))) +$(eval $(call PKG_template,INOTIFYWATCH,inotifywatch,$(PKG_VERSION)-$(PKG_RELEASE),libinotifytools,$(PKGSD_INOTIFYWATCH),$(PKG_SECTION))) +$(eval $(call PKG_template,LIBINOTIFYTOOLS,libinotifytools,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKGSD_LIBINOTIFYTOOLS),$(PKGSC_LIBINOTIFYTOOLS))) -post-install: +inotifywait-install: $(INSTALL_DIR) $(IDIR_INOTIFYWAIT)/usr/bin $(INSTALL_BIN) $(WRKINST)/usr/bin/inotifywait $(IDIR_INOTIFYWAIT)/usr/bin + +inotifywatch-install: $(INSTALL_DIR) $(IDIR_INOTIFYWATCH)/usr/bin $(INSTALL_BIN) $(WRKINST)/usr/bin/inotifywatch $(IDIR_INOTIFYWATCH)/usr/bin + +libinotifytools-install: $(INSTALL_DIR) $(IDIR_LIBINOTIFYTOOLS)/usr/lib $(CP) $(WRKINST)/usr/lib/libinotifytools.so* $(IDIR_LIBINOTIFYTOOLS)/usr/lib -include ${ADK_TOPDIR}/mk/pkg-bottom.mk +include $(ADK_TOPDIR)/mk/pkg-bottom.mk diff --git a/package/ipmitool/Makefile b/package/ipmitool/Makefile index 8018b4d93..2fec3dd77 100644 --- a/package/ipmitool/Makefile +++ b/package/ipmitool/Makefile @@ -4,21 +4,25 @@ include $(ADK_TOPDIR)/rules.mk PKG_NAME:= ipmitool -PKG_VERSION:= 1.8.11 +PKG_VERSION:= 1.8.15 PKG_RELEASE:= 1 -PKG_MD5SUM:= 0f9b4758c2b7e8a7bafc2ead113b4bc6 -PKG_DESCR:= Utility for controlling IPMI enabled devices. +PKG_HASH:= f0964e644a8e693932a3e8da6929d5598ed24645bacd51fbb1a4a09b5e47cf78 +PKG_DESCR:= utility for controlling ipmi enabled devices PKG_SECTION:= net/misc PKG_URL:= http://ipmitool.sf.net/ -PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=ipmitool/} +PKG_SITES:= $(MASTER_SITE_SOURCEFORGE:=ipmitool/) + +DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz include $(ADK_TOPDIR)/mk/package.mk -$(eval $(call PKG_template,IPMITOOL,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +$(eval $(call PKG_template,IPMITOOL,ipmitool,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION))) + +CONFIGURE_ENV+= ac_cv_func_malloc_0_nonnull=yes -post-install: +ipmitool-install: $(INSTALL_DIR) $(IDIR_IPMITOOL)/usr/bin $(INSTALL_BIN) $(WRKINST)/usr/bin/ipmitool \ $(IDIR_IPMITOOL)/usr/bin -include ${ADK_TOPDIR}/mk/pkg-bottom.mk +include $(ADK_TOPDIR)/mk/pkg-bottom.mk diff --git a/package/ipmitool/patches/patch-configure b/package/ipmitool/patches/patch-configure deleted file mode 100644 index 1abeed4ad..000000000 --- a/package/ipmitool/patches/patch-configure +++ /dev/null @@ -1,71 +0,0 @@ - enable configure to run despite $cross_compiling ---- ipmitool-1.8.11.orig/configure 2009-02-25 22:21:56.000000000 +0100 -+++ ipmitool-1.8.11/configure 2013-03-12 15:58:58.896054409 +0100 -@@ -24311,67 +24311,6 @@ _ACEOF - fi; - - --if test "$cross_compiling" = yes; then -- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling --See \`config.log' for more details." >&5 --echo "$as_me: error: cannot run test program while cross compiling --See \`config.log' for more details." >&2;} -- { (exit 1); exit 1; }; } --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ -- -- #include <stdio.h> -- -- struct packstruct { -- unsigned char t0 :5; -- unsigned char t1 :5; -- unsigned char t2 :5; -- unsigned char t3 :5; -- unsigned char t4 :4; -- } __attribute__ ((packed)); -- -- int -- main(int argc, char ** argv) -- { -- if(sizeof(struct packstruct) != 3) -- return(1); -- else -- return(0); -- } -- --_ACEOF --rm -f conftest$ac_exeext --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 -- (eval $ac_link) 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -- (eval $ac_try) 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; }; then -- : --else -- echo "$as_me: program exited with status $ac_status" >&5 --echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- --( exit $ac_status ) -- --cat >>confdefs.h <<\_ACEOF --#define HAVE_PRAGMA_PACK 1 --_ACEOF -- -- --fi --rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext --fi - - - ac_config_files="$ac_config_files Makefile doc/Makefile contrib/Makefile control/Makefile control/pkginfo control/prototype control/rpmmacros control/ipmitool.spec lib/Makefile include/Makefile include/ipmitool/Makefile src/Makefile src/plugins/Makefile src/plugins/lan/Makefile src/plugins/lanplus/Makefile src/plugins/open/Makefile src/plugins/free/Makefile src/plugins/imb/Makefile src/plugins/bmc/Makefile src/plugins/lipmi/Makefile" diff --git a/package/libpcap/Makefile b/package/libpcap/Makefile index 806c3e2d7..618b04d21 100644 --- a/package/libpcap/Makefile +++ b/package/libpcap/Makefile @@ -6,7 +6,7 @@ include $(ADK_TOPDIR)/rules.mk PKG_NAME:= libpcap PKG_VERSION:= 1.6.2 PKG_RELEASE:= 1 -PKG_HASH:= 116cbb3ac9e96d5dd7b39638a2f894a67fa3dcf06d794e6dae2b9a942ad13476 +PKG_HASH:= 5db3e2998f1eeba2c76da55da5d474248fe19c44f49e15cac8a796a2c7e19690 PKG_DESCR:= low-level packet capture library PKG_SECTION:= libs/net PKG_URL:= http://www.tcpdump.org/ @@ -22,9 +22,9 @@ include $(ADK_TOPDIR)/mk/package.mk $(eval $(call PKG_template,LIBPCAP,libpcap,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) +XAKE_FLAGS+= GCC_HONOUR_COPTS=s CONFIGURE_ENV+= ac_cv_linux_vers=26 CONFIGURE_ARGS+= --disable-yydebug \ - --with-build-cc=$(CC_FOR_BUILD) \ --disable-dbus \ --without-libnl \ --with-pcap=linux diff --git a/package/libqmi/Makefile b/package/libqmi/Makefile index 236f4a102..8f041d2ae 100644 --- a/package/libqmi/Makefile +++ b/package/libqmi/Makefile @@ -7,24 +7,24 @@ PKG_NAME:= libqmi PKG_VERSION:= 1.12.4 PKG_RELEASE:= 1 PKG_HASH:= 5527342bc869400d2a9c3038d66ec8ef87980aefb6c7aae593a13ebfee686a15 -PKG_DESCR:= QMI modem protocol helper library +PKG_DESCR:= qmi modem protocol helper library PKG_SECTION:= libs/net PKG_DEPENDS:= glib PKG_BUILDDEP:= glib PKG_URL:= http://cgit.freedesktop.org/libqmi/ PKG_SITES:= http://cgit.freedesktop.org/libqmi/snapshot/ +PKG_OPTS:= dev include $(ADK_TOPDIR)/mk/package.mk -$(eval $(call PKG_template,LIBQMI,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +$(eval $(call PKG_template,LIBQMI,libqmi,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS))) -pre-configure: - (cd ${WRKDIST}; ./autogen.sh) +AUTOTOOL_STYLE:= autogen -post-install: +libqmi-install: $(INSTALL_DIR) $(IDIR_LIBQMI)/usr/{bin,lib} $(INSTALL_BIN) $(WRKINST)/usr/bin/qmi{-network,cli} \ $(IDIR_LIBQMI)/usr/bin - ${CP} ${WRKINST}/usr/lib/libqmi-glib.so* ${IDIR_LIBQMI}/usr/lib/ + $(CP) $(WRKINST)/usr/lib/libqmi-glib.so* $(IDIR_LIBQMI)/usr/lib/ -include ${ADK_TOPDIR}/mk/pkg-bottom.mk +include $(ADK_TOPDIR)/mk/pkg-bottom.mk diff --git a/package/libqmi/patches/patch-configure_ac b/package/libqmi/patches/patch-configure_ac new file mode 100644 index 000000000..37f519c4e --- /dev/null +++ b/package/libqmi/patches/patch-configure_ac @@ -0,0 +1,12 @@ +--- libqmi-1.12.4.orig/configure.ac 2015-02-10 17:31:06.000000000 +0100 ++++ libqmi-1.12.4/configure.ac 2015-02-27 22:15:42.000000000 +0100 +@@ -76,9 +76,6 @@ AC_SUBST(GLIB_LIBS) + GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0` + AC_SUBST(GLIB_MKENUMS) + +-dnl Documentation +-GTK_DOC_CHECK(1.0) +- + # QMI username + QMI_USERNAME="root" + AC_ARG_ENABLE(qmi-username, diff --git a/package/mISDN/Makefile b/package/mISDN/Makefile index 1741cbb8f..348f1da0d 100644 --- a/package/mISDN/Makefile +++ b/package/mISDN/Makefile @@ -6,31 +6,30 @@ include $(ADK_TOPDIR)/rules.mk PKG_NAME:= mISDN PKG_VERSION:= 1_1_9_2 PKG_RELEASE:= 1 -PKG_MD5SUM:= f9ec111fcc40c9ef48fc1822317998be -PKG_DESCR:= mISDN is the new ISDN stack of the linux kernel 2.6, this is the out-of-tree 1.X version +PKG_HASH:= 9ff96d8361891b9a15cf6dbdb57214c36ca13702d5bf7c18ebe259ec5d876c09 +PKG_DESCR:= new isdn stack of the linux kernel PKG_SECTION:= net/voip PKG_URL:= http://www.misdn.org PKG_SITES:= http://www.misdn.org/downloads/releases/ -DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz + +PKG_CFLINE_MISDN:= depends on ADK_BROKEN + +DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz include $(ADK_TOPDIR)/mk/kernel-ver.mk include $(ADK_TOPDIR)/mk/package.mk -$(eval $(call PKG_template,MISDN,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +$(eval $(call PKG_template,MISDN,misdn,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION))) CONFIG_STYLE:= manual -XAKE_FLAGS+= LINUX=${LINUX_DIR} KVERS=${KERNEL_VERSION} -FAKE_FLAGS+= INSTALL_PREFIX=${WRKINST} - -#do-configure: -# $(SED) 's/CONFIG_MISDN_AVM_FRITZ=y/CONFIG_MISDN_AVM_FRITZ=n/' ${WRKDIR}/add.config -# $(SED) 's/CONFIG_MISDN_AVM_FRITZ=y/CONFIG_MISDN_AVM_FRITZ=n/' ${WRKDIR}/add.config +XAKE_FLAGS+= LINUX=$(LINUX_DIR) KVERS=$(KERNEL_VERSION) +FAKE_FLAGS+= INSTALL_PREFIX=$(WRKINST) -post-install: +misdn-install: $(INSTALL_DIR) $(IDIR_MISDN)/usr/sbin $(INSTALL_BIN) $(WRKINST)/usr/sbin/{mISDN,misdn-init} \ $(IDIR_MISDN)/usr/sbin - ${INSTALL_DIR} ${IDIR_MISDN}/lib - mv ${WRKINST}/lib/modules ${IDIR_MISDN}/lib + $(INSTALL_DIR) $(IDIR_MISDN)/lib/modules + $(CP) $(WRKINST)/lib/modules/* $(IDIR_MISDN)/lib/modules/ -include ${ADK_TOPDIR}/mk/pkg-bottom.mk +include $(ADK_TOPDIR)/mk/pkg-bottom.mk diff --git a/package/mISDNuser/Makefile b/package/mISDNuser/Makefile index e4f2748ff..d840e2f24 100644 --- a/package/mISDNuser/Makefile +++ b/package/mISDNuser/Makefile @@ -7,26 +7,29 @@ PKG_NAME:= mISDNuser PKG_VERSION:= 1_1_9 PKG_RELEASE:= 1 PKG_MD5SUM:= e174a60e7040c88d1184364714e55c1b -PKG_DESCR:= mISDN (modular ISDN) kernel link library and includes, this is the out-of-tree 1.X version +PKG_DESCR:= misdn kernel link library and includes, this is the out-of-tree version PKG_SECTION:= net/voip -PKG_DEPENDS:= mISDN +PKG_DEPENDS:= misdn PKG_BUILDDEP:= mISDN PKG_URL:= http://www.misdn.org PKG_SITES:= http://www.misdn.org/downloads/releases/ PKG_NOPARALLEL:= 1 +PKG_CFLINE_MISDNUSER:= depends on ADK_BROKEN + include $(ADK_TOPDIR)/mk/package.mk -$(eval $(call PKG_template,MISDNUSER,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +$(eval $(call PKG_template,MISDNUSER,misdnuser,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION))) CONFIG_STYLE:= manual -XAKE_FLAGS+= MISDNDIR=${STAGING_TARGET_DIR}/usr INSTALL_PREFIX=${WRKINST} +XAKE_FLAGS+= MISDNDIR=$(STAGING_TARGET_DIR)/usr INSTALL_PREFIX=$(WRKINST) -post-install: +misdnuser-install: $(INSTALL_DIR) $(IDIR_MISDNUSER)/usr/{bin,lib} $(INSTALL_BIN) $(WRKINST)/usr/bin/{loadfirm,mISDNdebugtool,misdnportinfo} \ - ${WRKINST}/usr/bin/{sendhwctrl,testcon*,testlayer*} \ $(IDIR_MISDNUSER)/usr/bin/ - ${INSTALL_DATA} ${WRKINST}/usr/lib/*.so ${IDIR_MISDNUSER}/usr/lib/ + $(INSTALL_BIN) $(WRKINST)/usr/bin/{sendhwctrl,testcon*,testlayer*} \ + $(IDIR_MISDNUSER)/usr/bin/ + $(CP) $(WRKINST)/usr/lib/*.so* $(IDIR_MISDNUSER)/usr/lib/ -include ${ADK_TOPDIR}/mk/pkg-bottom.mk +include $(ADK_TOPDIR)/mk/pkg-bottom.mk diff --git a/package/newt/Makefile b/package/newt/Makefile index e663ae0fa..57521d1a2 100644 --- a/package/newt/Makefile +++ b/package/newt/Makefile @@ -7,27 +7,28 @@ PKG_NAME:= newt PKG_VERSION:= 0.52.18 PKG_RELEASE:= 1 PKG_HASH:= 771b0e634ede56ae6a6acd910728bb5832ac13ddb0d1d27919d2498dab70c91e -PKG_DESCR:= Redhat\'s Newt windowing toolkit development files +PKG_DESCR:= windowing toolkit PKG_SECTION:= libs/misc -PKG_DEPENDS:= slang -PKG_BUILDDEP:= slang +PKG_DEPENDS:= slang libpopt +PKG_BUILDDEP:= slang popt PKG_URL:= https://fedorahosted.org/newt/ -PKG_SITES:= https://fedorahosted.org/releases/n/e/${PKG_NAME}/ -DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz +PKG_SITES:= https://fedorahosted.org/releases/n/e/$(PKG_NAME)/ + +DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz include $(ADK_TOPDIR)/mk/package.mk -$(eval $(call PKG_template,NEWT,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +$(eval $(call PKG_template,NEWT,newt,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION))) CONFIGURE_ARGS+= --without-python \ --without-tcl \ --without-gpm-support -post-install: +newt-install: $(INSTALL_DIR) $(IDIR_NEWT)/usr/{bin,lib} $(INSTALL_BIN) $(WRKINST)/usr/bin/whiptail \ $(IDIR_NEWT)/usr/bin - ${CP} ${WRKINST}/usr/lib/libnewt.so* \ - ${IDIR_NEWT}/usr/lib + $(CP) $(WRKINST)/usr/lib/libnewt.so* \ + $(IDIR_NEWT)/usr/lib -include ${ADK_TOPDIR}/mk/pkg-bottom.mk +include $(ADK_TOPDIR)/mk/pkg-bottom.mk diff --git a/package/oprofile/Makefile b/package/oprofile/Makefile index c4da8d426..ee6286ea1 100644 --- a/package/oprofile/Makefile +++ b/package/oprofile/Makefile @@ -16,9 +16,6 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=oprofile/} DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz -PKG_ARCH_DEPENDS:= !m68k -PKG_LIBC_DEPENDS:= uclibc glibc - PKG_CFLINE_OPROFILE:= select BUSYBOX_EXPR include $(ADK_TOPDIR)/mk/package.mk diff --git a/package/perf/Makefile b/package/perf/Makefile index a237dd49b..75bd8efe4 100644 --- a/package/perf/Makefile +++ b/package/perf/Makefile @@ -5,33 +5,39 @@ include $(ADK_TOPDIR)/rules.mk include $(ADK_TOPDIR)/mk/kernel-ver.mk PKG_NAME:= perf -PKG_VERSION:= ${KERNEL_VERSION} +PKG_VERSION:= $(KERNEL_VERSION) PKG_RELEASE:= 1 -PKG_DESCR:= Userland tools for Linux Performance Counters +PKG_DESCR:= userland tools for linux performance counters PKG_SECTION:= ap |