summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/skalibs/ChangeLog7
-rw-r--r--dev-libs/skalibs/skalibs-1.2.8.ebuild57
2 files changed, 63 insertions, 1 deletions
diff --git a/dev-libs/skalibs/ChangeLog b/dev-libs/skalibs/ChangeLog
index 401649a8b89f..af9ac9cd9897 100644
--- a/dev-libs/skalibs/ChangeLog
+++ b/dev-libs/skalibs/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/skalibs
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/skalibs/ChangeLog,v 1.10 2012/06/06 03:48:30 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/skalibs/ChangeLog,v 1.11 2012/06/22 07:25:28 xmw Exp $
+
+*skalibs-1.2.8 (22 Jun 2012)
+
+ 22 Jun 2012; Michael Weber <xmw@gentoo.org> +skalibs-1.2.8.ebuild:
+ Version bump (thanks euscan)
06 Jun 2012; Zac Medico <zmedico@gentoo.org> skalibs-1.2.7.ebuild:
inherit multilib for get_libdir
diff --git a/dev-libs/skalibs/skalibs-1.2.8.ebuild b/dev-libs/skalibs/skalibs-1.2.8.ebuild
new file mode 100644
index 000000000000..45bb0229e372
--- /dev/null
+++ b/dev-libs/skalibs/skalibs-1.2.8.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/skalibs/skalibs-1.2.8.ebuild,v 1.1 2012/06/22 07:25:28 xmw Exp $
+
+EAPI=4
+
+inherit multilib toolchain-funcs
+
+DESCRIPTION="development files used for building software at skarnet.org: essentially general-purpose libraries"
+HOMEPAGE="http://www.skarnet.org/software/skalibs/index.html"
+SRC_URI="http://www.skarnet.org/software/${PN}/${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc static-libs"
+
+DEPEND=""
+RDEPEND=""
+
+S=${WORKDIR}/prog/${P}
+
+src_configure() {
+ echo $(tc-getCC) ${CFLAGS} > conf-compile/conf-cc
+ echo $(tc-getCC) ${LDFLAGS} > conf-compile/conf-dynld
+ echo $(tc-getCC) ${LDFLAGS} > conf-compile/conf-ld
+}
+
+src_compile() {
+ emake -j1
+}
+
+src_install() {
+ insinto /etc
+ doins etc/leapsecs.dat
+
+ insinto /usr/include/${PN}
+ doins include/*
+
+ insopts -m0755
+ insinto /usr/$(get_libdir)/${PN}
+ doins library.so/*
+ if use static-libs ; then
+ doins library/*
+ fi
+
+ dodir /etc/ld.so.conf.d/
+ echo "/usr/$(get_libdir)/${PN}" > ${ED}/etc/ld.so.conf.d/10${PN}.conf || die
+
+ cd doc || die
+ for f in $(find . -type f ! -name "*.html" ! -name "COPYING") ; do
+ docinto $(dirname f)
+ dodoc $f
+ done
+ docinto html
+ use doc && dohtml -r .
+}