1 ################################################################################
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
; \
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
28 define MII_DIAG_INSTALL_TARGET_CMDS
29 $(TARGET_MAKE_ENV
) $(MAKE
) DESTDIR
=$(TARGET_DIR
) -C
$(@D
) install-mii-diag
32 $(eval
$(generic-package
))