summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-02-08 18:23:55 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-02-08 18:23:55 +0000
commitd1cc8971b8cc0e59a1b4f9d9484ab8d33d6e3476 (patch)
tree84d0d31fdcf30857fea7e6097094f35a8643b839 /sys-libs/libixp/libixp-0.5_p20110208.ebuild
parentStable on alpha, bug #353673 (diff)
downloadgentoo-2-d1cc8971b8cc0e59a1b4f9d9484ab8d33d6e3476.tar.gz
gentoo-2-d1cc8971b8cc0e59a1b4f9d9484ab8d33d6e3476.tar.bz2
gentoo-2-d1cc8971b8cc0e59a1b4f9d9484ab8d33d6e3476.zip
bump to snapshot
(Portage version: 2.2.0_alpha20/cvs/Linux x86_64)
Diffstat (limited to 'sys-libs/libixp/libixp-0.5_p20110208.ebuild')
-rw-r--r--sys-libs/libixp/libixp-0.5_p20110208.ebuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/sys-libs/libixp/libixp-0.5_p20110208.ebuild b/sys-libs/libixp/libixp-0.5_p20110208.ebuild
new file mode 100644
index 000000000000..c1f97376ec59
--- /dev/null
+++ b/sys-libs/libixp/libixp-0.5_p20110208.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libixp/libixp-0.5_p20110208.ebuild,v 1.1 2011/02/08 18:23:54 ssuominen Exp $
+
+# hg clone http://hg.suckless.org/libixp
+
+EAPI=3
+inherit multilib toolchain-funcs
+
+DESCRIPTION="A stand-alone client/server 9P library including ixpc client"
+HOMEPAGE="http://libs.suckless.org/libixp"
+SRC_URI="http://dev.gentoo.org/~ssuominen/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND="app-arch/xz-utils"
+
+pkg_setup() {
+ myixpconf=(
+ PREFIX="/usr"
+ LIBDIR="/usr/$(get_libdir)"
+ CC="$(tc-getCC) -c"
+ LD="$(tc-getCC) ${LDFLAGS}"
+ AR="$(tc-getAR) crs"
+ MAKESO="1"
+ SOLDFLAGS="-shared -Wl,-soname"
+ )
+}
+
+src_compile() {
+ emake "${myixpconf[@]}" || die
+}
+
+src_install() {
+ emake "${myixpconf[@]}" DESTDIR="${D}" install || die
+ dolib.so lib/libixp{,_pthread}.so || die
+}