summaryrefslogtreecommitdiffstats
path: root/dev-libs/libds/libds-0.1.2.ebuild
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
commitca9627e70852f6b2e835660df870fe3ab405882d (patch)
tree0a008b1d5b16fa0679a195ed7b5662c7891f591c /dev-libs/libds/libds-0.1.2.ebuild
downloaddarklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip
Initial import
Diffstat (limited to 'dev-libs/libds/libds-0.1.2.ebuild')
-rw-r--r--dev-libs/libds/libds-0.1.2.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-libs/libds/libds-0.1.2.ebuild b/dev-libs/libds/libds-0.1.2.ebuild
new file mode 100644
index 0000000..597982d
--- /dev/null
+++ b/dev-libs/libds/libds-0.1.2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header:
+
+inherit eutils
+
+DESCRIPTION="LibDS is OS abstraction library"
+SRC_URI="http://dside.dyndns.org/files/adas/opc-${PV}.tar.bz2"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 amd64"
+DEPEND="dev-libs/libxml2"
+
+S=${WORKDIR}/opc-${PV}
+
+src_unpack() {
+ unpack opc-${PV}.tar.bz2 || die
+}
+
+src_compile() {
+ make create_includes || die
+ make -C libds || die
+}
+
+src_install() {
+ into /usr
+ mkdir -p ${D}/usr/lib/ || die
+ mkdir -p ${D}/usr/include/libds/ || die
+ install -c libds/libds.so ${D}/usr/lib/libds.so.${PV} || die
+ ln -s libds.so.${PV} ${D}/usr/lib/libds.so || die
+ cp -L includes/libds/* ${D}/usr/include/libds || die
+}