summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-01-01 13:31:51 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2017-01-01 13:31:51 +0100
commitaa389604f5359d4c2757c4dc23d78cfbf59346b4 (patch)
tree6d2db814aa7cc71c529741b371e84a2fe416c1cc
parent79909436ed99f863f5e4fcd6c02e2ee152548cdc (diff)
dvhtool: new package for SGI MIPS partition labels
-rw-r--r--package/dvhtool/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/package/dvhtool/Makefile b/package/dvhtool/Makefile
new file mode 100644
index 000000000..68b6fac2d
--- /dev/null
+++ b/package/dvhtool/Makefile
@@ -0,0 +1,31 @@
+# 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:= dvhtool
+PKG_VERSION:= 1.0.1
+PKG_RELEASE:= 1
+PKG_HASH:= 3596c74c08ee8f2f19712e8f0ab1f7ff8c483de7bfc2f50d205a186f52896f02
+PKG_DESCR:= sgi disk volume header tool
+PKG_SECTION:= sys/fs
+PKG_URL:= https://www.linux-mips.org/wiki/Disk_Volume_Header
+PKG_SITES:= http://http.debian.net/debian/pool/main/d/dvhtool/
+
+PKG_ARCH_DEPENDS:= mips mips64
+
+DISTFILES:= $(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
+WRKDIST= $(WRKDIR)/$(PKG_NAME)-$(PKG_VERSION).orig
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,DVHTOOL,dvhtool,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
+
+AUTOTOOL_STYLE:= autoreconf
+
+dvhtool-install:
+ $(INSTALL_DIR) $(IDIR_DVHTOOL)/usr/sbin
+ $(INSTALL_BIN) $(WRKINST)/usr/sbin/dvhtool \
+ $(IDIR_DVHTOOL)/usr/sbin
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk