summaryrefslogtreecommitdiff
path: root/app-emulation/libdsk
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-emulation/libdsk
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-emulation/libdsk')
-rw-r--r--app-emulation/libdsk/Manifest4
-rw-r--r--app-emulation/libdsk/files/libdsk-1.5.8-include-sysmacros.patch22
-rw-r--r--app-emulation/libdsk/libdsk-1.5.8.ebuild23
-rw-r--r--app-emulation/libdsk/metadata.xml8
4 files changed, 57 insertions, 0 deletions
diff --git a/app-emulation/libdsk/Manifest b/app-emulation/libdsk/Manifest
new file mode 100644
index 000000000000..ef3502370849
--- /dev/null
+++ b/app-emulation/libdsk/Manifest
@@ -0,0 +1,4 @@
+AUX libdsk-1.5.8-include-sysmacros.patch 676 BLAKE2B 7617b02bac41a86e292009b7a651eb3bbc94b3409f8391c9345ce74558d9f526c7f1210c80e0d738d57a867f6cb3f6cb780ea6aa37a911eebc3a6be7671c78f4 SHA512 d4a38e7be2f3835c14c8d2be9dd4ae6cd75653efe65b0276e3f009895e35b257b0f819a711f1ac623dfe80d462676ac4eccfaf1ac68011db61e4992dde2450f5
+DIST libdsk-1.5.8.tar.gz 1212684 BLAKE2B 52a2687d8ade0378096215d362df21b6eb477b3304910bb98c56264fb05bec6ad2d2b7254dd132fe50e60d5179b4875a1a91088f8ed93f68886054bf1df060f4 SHA512 6bb332dcd58b88272130a950ed686852f66a1e97030aaa280db3bc65a7f82513d57055c2cc3e653e1e06843c453e46a52ce280b45b42c0bb671d1e0f6d7c9520
+EBUILD libdsk-1.5.8.ebuild 530 BLAKE2B 4e12fc310a2811544f86d8e765ebcf1b8732a542f0797ee07d1757ac31e5222752b7a32edb136b23c3f9b513d3ef01b664b821a0c5bfb4b6b5bcda6181c9bfb1 SHA512 b3e8e84abe69c827d8ee0df45dcec1488a1fe0c39249b8bc073b2f617bf0b5b550ed70c0250cdb12d1c16976f9683e29c266f26425004b93588bf938f67b5d80
+MISC metadata.xml 250 BLAKE2B 4d107336753f39398ae054c9c143bd7a5528a3cecf12ac4f32ba37b2ed15ccefbbd4462239b98b5b239fc3fd2588ea313c2e68c06e889a16a16162af54348295 SHA512 edfbc7db743ecc341349b3ebd5c1367e100dd1999194001f6de526be5fbf340daf8ebb9a70b4b4b069178219c37a8c4e161afc2650997070dd3be113d091d077
diff --git a/app-emulation/libdsk/files/libdsk-1.5.8-include-sysmacros.patch b/app-emulation/libdsk/files/libdsk-1.5.8-include-sysmacros.patch
new file mode 100644
index 000000000000..e52b92bf2e33
--- /dev/null
+++ b/app-emulation/libdsk/files/libdsk-1.5.8-include-sysmacros.patch
@@ -0,0 +1,22 @@
+diff -Nuar a/lib/compress.c b/lib/compress.c
+--- a/lib/compress.c 2017-02-13 20:34:21.000000000 +0100
++++ b/lib/compress.c 2018-01-28 15:22:15.571892254 +0100
+@@ -23,6 +23,7 @@
+ #include "drvi.h" /* For LINUXFLOPPY and WIN32FLOPPY */
+ #include "compi.h"
+ #include "comp.h"
++#include <sys/sysmacros.h>
+ /* LibDsk generalised compression support */
+ #ifdef HAVE_SYS_STAT_H
+ #include <sys/stat.h>
+diff -Nuar a/lib/drvlinux.c b/lib/drvlinux.c
+--- a/lib/drvlinux.c 2017-02-26 01:43:39.000000000 +0100
++++ b/lib/drvlinux.c 2018-01-28 15:22:08.661892284 +0100
+@@ -26,6 +26,7 @@
+
+ #include "drvi.h"
+ #include "drvlinux.h"
++#include <sys/sysmacros.h>
+
+ #ifdef LINUXFLOPPY
+
diff --git a/app-emulation/libdsk/libdsk-1.5.8.ebuild b/app-emulation/libdsk/libdsk-1.5.8.ebuild
new file mode 100644
index 000000000000..e09295e8440b
--- /dev/null
+++ b/app-emulation/libdsk/libdsk-1.5.8.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="LIBDSK is a library for accessing discs and disc image files"
+HOMEPAGE="http://www.seasip.info/Unix/LibDsk/"
+SRC_URI="http://www.seasip.info/Unix/LibDsk/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64"
+IUSE="doc"
+
+src_prepare() {
+ eapply "${FILESDIR}"/${P}-include-sysmacros.patch
+ eapply_user
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ DOCS="doc/${PN}.txt doc/${PN}.pdf" einstalldocs
+}
diff --git a/app-emulation/libdsk/metadata.xml b/app-emulation/libdsk/metadata.xml
new file mode 100644
index 000000000000..cd8c274bc1eb
--- /dev/null
+++ b/app-emulation/libdsk/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>nimiux@gentoo.org</email>
+ <name>Chema Alonso Josa</name>
+ </maintainer>
+</pkgmetadata>