summaryrefslogtreecommitdiff
path: root/user/libieee1284/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-22 04:11:29 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-22 04:11:29 -0500
commit53c618caf21b41cb67739e74a82cf72048aa848e (patch)
tree647d9a89f6027ca5213e5cfcc62e54f9b3cb2e76 /user/libieee1284/APKBUILD
parent2fb8795e48ba6ad3943c09fa06cffea1690519e7 (diff)
downloadpackages-53c618caf21b41cb67739e74a82cf72048aa848e.tar.gz
packages-53c618caf21b41cb67739e74a82cf72048aa848e.tar.bz2
packages-53c618caf21b41cb67739e74a82cf72048aa848e.tar.xz
packages-53c618caf21b41cb67739e74a82cf72048aa848e.zip
user/libieee1284: pull in, fix URL, modernise
Diffstat (limited to 'user/libieee1284/APKBUILD')
-rw-r--r--user/libieee1284/APKBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/user/libieee1284/APKBUILD b/user/libieee1284/APKBUILD
new file mode 100644
index 000000000..44996cee3
--- /dev/null
+++ b/user/libieee1284/APKBUILD
@@ -0,0 +1,43 @@
+# Contributor: Valery Kartel <valery.kartel@gmail.com>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libieee1284
+pkgver=0.2.11
+pkgrel=1
+pkgdesc="Cross-platform library for parallel port access"
+url="http://cyberelk.net/tim/software/libieee1284/"
+arch="all"
+options="!check" # No test suite.
+license="GPL-2.0+"
+makedepends="file"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2
+ include.patch"
+
+prepare() {
+ default_prepare
+ update_config_guess
+}
+
+build() {
+ cd "$builddir"
+
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --without-python \
+ ac_cv_header_sys_io_h=no
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+dev() {
+ default_dev
+ mv "$pkgdir"/usr/bin "$subpkgdir"/usr
+}
+
+sha512sums="06cc3049ce15613d34e39dc71bc572843c61ab64077c29ef9a6257edb0849c98565ff612a4cf787bc9642a39f1c89b7c47a20fb27f2318105be82aad8d472bb9 libieee1284-0.2.11.tar.bz2
+dccf1a78c02c6c1ea25eb3e054327298aac11972a32fafaa2180db31441f69cc1528bcb73127b7721776e946edee2344273d77443146bd707535bad148209453 include.patch"