summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/mactel-boot/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/user/mactel-boot/APKBUILD b/user/mactel-boot/APKBUILD
new file mode 100644
index 000000000..908593333
--- /dev/null
+++ b/user/mactel-boot/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=mactel-boot
+pkgver=0.9
+pkgrel=0
+pkgdesc="Provides hfs-bless utility to boot Apple computers"
+url="http://www.codon.org.uk/~mjg59/mactel-boot/"
+arch="all"
+license="GPL-2.0+"
+depends=""
+makedepends=""
+install=""
+subpackages="$pkgname-doc"
+options="!check"
+source="http://www.codon.org.uk/~mjg59/mactel-boot/mactel-boot-$pkgver.tar.bz2"
+
+build() {
+ cd "$builddir"
+ make hfs-bless
+}
+
+package() {
+ mkdir -p "$pkgdir"/usr/sbin
+ install -m 755 "$builddir"/hfs-bless "$pkgdir"/usr/sbin/
+ mkdir -p "$pkgdir"/usr/share/man/man1
+ install -m 644 "$builddir"/bless.1 "$pkgdir"/usr/share/man/man1/hfs-bless.1
+}
+
+sha512sums="e120762ea237d6020f6f4cafc540f5cf6dda2d900997a6373f29163c82453d6936ef6005a8a9f5199b43dd55ae317ddc17a109ce80ff8a42eec2df661556881d mactel-boot-0.9.tar.bz2"