app-emulation/libdsk: Adds new ebuild
authorChema Alonso Josa <nimiux@gentoo.org>
Sun, 20 Nov 2016 17:06:41 +0000 (18:06 +0100)
committerChema Alonso Josa <nimiux@gentoo.org>
Sun, 20 Nov 2016 17:06:41 +0000 (18:06 +0100)
Package-Manager: portage-2.3.0

app-emulation/libdsk/Manifest [new file with mode: 0644]
app-emulation/libdsk/libdsk-1.4.2.ebuild [new file with mode: 0644]
app-emulation/libdsk/metadata.xml [new file with mode: 0644]

diff --git a/app-emulation/libdsk/Manifest b/app-emulation/libdsk/Manifest
new file mode 100644 (file)
index 0000000..bbab9b0
--- /dev/null
@@ -0,0 +1 @@
+DIST libdsk-1.4.2.tar.gz 1083103 SHA256 71eda9d0e33ab580cea1bb507467877d33d887cea6ec042b8d969004db89901a SHA512 7550b131b0ac061aa755260263e439959aa747cdac2c0df2d7e20c89c5724910ae948793884bda9fe4e504608fd34baa2db72d2066a91dda6eb797bedffd1a39 WHIRLPOOL c43af081189f28e362d104f533c777827b17511a44634dc01d3eca80289d58bc2a8d1dc1ab7049a1f6099c027742a8abbf5c3eac995736e61e5f6d1fd790155e
diff --git a/app-emulation/libdsk/libdsk-1.4.2.ebuild b/app-emulation/libdsk/libdsk-1.4.2.ebuild
new file mode 100644 (file)
index 0000000..2a2c9c0
--- /dev/null
@@ -0,0 +1,24 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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"
+
+DEPEND="doc? ( app-office/lyx )"
+RDEPEND=""
+
+src_prepare() {
+       if use doc ; then
+               sed -i Makefile.in -e '/^SUBDIRS/s|doc$||' || die
+       fi
+       eapply_user
+}
diff --git a/app-emulation/libdsk/metadata.xml b/app-emulation/libdsk/metadata.xml
new file mode 100644 (file)
index 0000000..cd8c274
--- /dev/null
@@ -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>