summaryrefslogtreecommitdiffstats
path: root/dev-libs/libds/libds-0.0.12.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libds/libds-0.0.12.ebuild')
-rw-r--r--dev-libs/libds/libds-0.0.12.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-libs/libds/libds-0.0.12.ebuild b/dev-libs/libds/libds-0.0.12.ebuild
new file mode 100644
index 0000000..bd05436
--- /dev/null
+++ b/dev-libs/libds/libds-0.0.12.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://localhost/releases/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
+}