summaryrefslogtreecommitdiff
path: root/user/mactel-boot/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-08-21 17:46:01 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2017-08-21 17:46:01 -0500
commit39e7f4b1e9378638385361cc3e91c011c6c18dfd (patch)
tree9316b94c7662d0f115bb421e16aa7efc14170dce /user/mactel-boot/APKBUILD
parent9d0fd3c820c234be2c9e4e664394e325f6a08f00 (diff)
downloadpackages-39e7f4b1e9378638385361cc3e91c011c6c18dfd.tar.gz
packages-39e7f4b1e9378638385361cc3e91c011c6c18dfd.tar.bz2
packages-39e7f4b1e9378638385361cc3e91c011c6c18dfd.tar.xz
packages-39e7f4b1e9378638385361cc3e91c011c6c18dfd.zip
user/mactel-boot: new package
Diffstat (limited to 'user/mactel-boot/APKBUILD')
-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"