diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-12-04 21:38:23 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-12-04 21:38:23 +0000 |
commit | d63fcdbd4eeac20684156de08d57f6354c877a67 (patch) | |
tree | 7e467dccf9b159c2975cf7bef593e4791cb5ec5d /sys-libs/libixp | |
parent | Add missing pkgconfig dependency. Bug #393165 (diff) | |
download | gentoo-2-d63fcdbd4eeac20684156de08d57f6354c877a67.tar.gz gentoo-2-d63fcdbd4eeac20684156de08d57f6354c877a67.tar.bz2 gentoo-2-d63fcdbd4eeac20684156de08d57f6354c877a67.zip |
Change ixp_serve9pconn define to ixp_serve9conn as per upstream http://code.google.com/p/libixp/issues/detail?id=2 (this is required for unbundling libixp in x11-wm/wmii-3.9.2)
(Portage version: 2.2.0_alpha79/cvs/Linux x86_64)
Diffstat (limited to 'sys-libs/libixp')
-rw-r--r-- | sys-libs/libixp/ChangeLog | 10 | ||||
-rw-r--r-- | sys-libs/libixp/libixp-0.5_p20110208-r2.ebuild | 47 |
2 files changed, 56 insertions, 1 deletions
diff --git a/sys-libs/libixp/ChangeLog b/sys-libs/libixp/ChangeLog index 472762d0accc..a5c199c30647 100644 --- a/sys-libs/libixp/ChangeLog +++ b/sys-libs/libixp/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for sys-libs/libixp # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libixp/ChangeLog,v 1.18 2011/12/04 21:11:30 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libixp/ChangeLog,v 1.19 2011/12/04 21:38:23 ssuominen Exp $ + +*libixp-0.5_p20110208-r2 (04 Dec 2011) + + 04 Dec 2011; Samuli Suominen <ssuominen@gentoo.org> + +libixp-0.5_p20110208-r2.ebuild: + Change ixp_serve9pconn define to ixp_serve9conn as per upstream + http://code.google.com/p/libixp/issues/detail?id=2 (this is required for + unbundling libixp in x11-wm/wmii-3.9.2) 04 Dec 2011; Samuli Suominen <ssuominen@gentoo.org> -libixp-0.5_p20110208.ebuild: diff --git a/sys-libs/libixp/libixp-0.5_p20110208-r2.ebuild b/sys-libs/libixp/libixp-0.5_p20110208-r2.ebuild new file mode 100644 index 000000000000..e6df7e48893c --- /dev/null +++ b/sys-libs/libixp/libixp-0.5_p20110208-r2.ebuild @@ -0,0 +1,47 @@ +# 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-r2.ebuild,v 1.1 2011/12/04 21:38:23 ssuominen Exp $ + +# hg clone http://hg.suckless.org/libixp + +EAPI=4 +inherit multilib toolchain-funcs + +DESCRIPTION="A stand-alone client/server 9P library including ixpc client" +HOMEPAGE="http://libs.suckless.org/libixp" +SRC_URI="mirror://gentoo/${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" + ) +} + +src_prepare() { + # http://code.google.com/p/libixp/issues/detail?id=2 + sed -i -e 's:ixp_serve9pconn:ixp_serve9conn:' include/ixp.h || die +} + +src_compile() { + emake "${myixpconf[@]}" || die +} + +src_install() { + emake "${myixpconf[@]}" DESTDIR="${D}" install || die + dolib.so lib/libixp{,_pthread}.so || die + dodoc NEWS +} |