python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / mii-diag / mii-diag.mk
blob6efd5be80dbf2137448398056d0c51723d81da82
1 ################################################################################
3 # mii-diag
5 ################################################################################
7 MII_DIAG_VERSION = 2.11
8 MII_DIAG_SOURCE = mii-diag_$(MII_DIAG_VERSION).orig.tar.gz
9 MII_DIAG_PATCH = mii-diag_$(MII_DIAG_VERSION)-3.diff.gz
10 MII_DIAG_SITE = http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/m/mii-diag
11 MII_DIAG_LICENSE = GPL # No version specified
12 MII_DIAG_LICENSE_FILES = mii-diag.c
14 MII_DIAG_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS)
16 define MII_DIAG_DEBIAN_PATCHES
17 if [ -d $(@D)/debian/patches ]; then \
18 $(APPLY_PATCHES) $(@D) $(@D)/debian/patches \*.patch; \
20 endef
22 MII_DIAG_POST_PATCH_HOOKS = MII_DIAG_DEBIAN_PATCHES
24 define MII_DIAG_BUILD_CMDS
25 $(TARGET_MAKE_ENV) $(MAKE) $(MII_DIAG_MAKE_OPTS) -C $(@D) mii-diag
26 endef
28 define MII_DIAG_INSTALL_TARGET_CMDS
29 $(TARGET_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) install-mii-diag
30 endef
32 $(eval $(generic-package))