Changeset - 0c7400cc2ff6
[Not reviewed]
default
1 3 0
Nathan Brink (binki) - 15 years ago 2009-12-28 22:49:09
ohnobinki@ohnopublishing.net
dev-libs/liblist: updated to compatibility with upstream which uses autotools. fixed HOMEPAGE.
4 files changed with 15 insertions and 83 deletions:
0 comments (0 inline, 0 general)
dev-libs/liblist/ChangeLog
Show inline comments
 
# ChangeLog for dev-libs/liblist
 
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
 
# $Header: /var/cvsroot/gentoo-x86/dev-libs/liblist/ChangeLog,v 1.2 2009/12/05 22:32:30 nerdboy Exp $
 

	
 
  29 Dec 2009; Nathan Phillip Brink (ohnobinki)
 
  <ohnobinki@ohnopublishing.net> liblist-9999.ebuild,
 
  -files/liblist-9999-sharedlib.patch:
 
  Simplified and compatible with newer Mercurial (Remove patch, let
 
  autotools install files). Fixed HOMEPAGE URL.
 

	
 
  23 Dec 2009; Nathan Phillip Brink (ohnobinki)
 
  <ohnobinki@ohnopublishing.net> liblist-9999.ebuild:
 
  Fix installation of the cache manpage.
 

	
 
  23 Dec 2009; Nathan Phillip Brink (ohnobinki)
 
  <ohnobinki@ohnopublishing.net> -liblist-2.1.ebuild,
 
  -liblist-2.1-r1.ebuild, -files/liblist-2.1-sharedlib.patch,
 
  +liblist-9999.ebuild, +files/liblist-9999-sharedlib.patch:
 
  Added live ebuild -- removed in-portage ebuilds. Fixed dynamic lib patch
 
  to work with the mercurial version.
 

	
 
*liblist-2.1-r1 (05 Dec 2009)
dev-libs/liblist/Manifest
Show inline comments
 
AUX liblist-9999-sharedlib.patch 1470 RMD160 c875b98f2262219521fffedd5e4874fcfca5152d SHA1 d1fbf99578d86cb3f4f35c1271421fb961607273 SHA256 968d9f115409cbde81b6fd90a8f3cf3821627a4a5a81f38d890e4cde87b6a9b9
 
EBUILD liblist-9999.ebuild 1765 RMD160 8e7d375414bcfbe53a21a75e87d189fec06474b8 SHA1 a02cb0b2dc5040ff5377ba44103518efff6ba60a SHA256 7f5fcd5c7d5ddc08de9437c8003cb99b519aae97bd8011c40d47869500e68c57
 
EBUILD liblist-9999.ebuild 1232 RMD160 dd4a888409f41ed34613c6cecf9ca76e85b984b8 SHA1 d3bd2b538320fef2f912a7141d9e6f917bc01922 SHA256 089756aaec4516e7ba27ee59f411c26d2c7a3925ad1bf8ad5dfa94d00302de46
 
MISC ChangeLog 1272 RMD160 0e51d6b1016851da2f86073ded51980bf987963a SHA1 b7b06f3f7be32719c40365b29c402d8e4b278b3c SHA256 46a9bf80386ea4f342160fb0bac50d1133a1860554b599adb9398beed97a32b2
 
MISC metadata.xml 473 RMD160 97667dfa400a624c3ba66fbaefa5bb5bf592c485 SHA1 8ab2e330cbc7993d95c0492ae14540ab5e0177ac SHA256 197f1543dd37a80c8de5ee4083d4eb659c8be038483895e11225c68e93da11f1
dev-libs/liblist/files/liblist-9999-sharedlib.patch
Show inline comments
 
deleted file
dev-libs/liblist/liblist-9999.ebuild
Show inline comments
 
# Copyright 1999-2009 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/dev-libs/liblist/liblist-2.1-r1.ebuild,v 1.1 2009/12/05 22:32:30 nerdboy Exp $
 

	
 
EAPI="2"
 

	
 
inherit eutils mercurial toolchain-funcs
 
inherit autotools mercurial
 

	
 
DESCRIPTION="This package provides generic linked-list manipulation routines, plus queues and stacks."
 
HOMEPAGE="http://ohnopub.net/hg/liblist/-unbased"
 
HOMEPAGE="http://ohnopub.net/hg/liblist-unbased"
 
SRC_URI=""
 
EHG_REPO_URI="http://ohnopub.net/hg/liblist-unbased"
 

	
 
LICENSE="GPL-2"
 
SLOT="0"
 
KEYWORDS=""
 
IUSE="doc examples"
 

	
 
S=${WORKDIR}/${PN}-unbased
 

	
 
src_prepare() {
 
	epatch "${FILESDIR}"/${P}-sharedlib.patch
 
	sed -i -e "s:/usr/lib:/usr/$(get_libdir):g" Makefile \
 
		examples/cache/Makefile || die "sed 1 failed"
 
	eautoreconf
 
}
 

	
 
src_compile() {
 
	make CC="$(tc-getCC)" LD="$(tc-getCC)" \
 
		|| die "make failed"
 
src_configure() {
 
	econf $(use_enable doc docs) \
 
		$(use_enable examples)
 
}
 

	
 
src_install() {
 
	newman list.3 llist.3 || die
 
	newman stack.3 lstack.3 || die
 
	newman queue.3 lqueue.3 || die
 
	dolib.a ${PN}.a || die
 
	dolib.so ${PN}.so* || die
 
	insinto /usr/include
 
	doins list.h queue.h stack.h || die
 
	emake DESTDIR="${D}" install || die
 

	
 
	dodoc README || die
 

	
 
	if use examples; then
 
		dolib.a examples/cache/libcache.a || die
 
		dobin examples/cache/cachetest || die
 
		newman examples/cache/cache.3 lcache.3 || die
 
		insinto /usr/share/doc/${P}/examples
 
		doins examples/{*.c,Makefile,README} || die
 
		insinto /usr/share/doc/${P}/examples/cache
 
		doins examples/cache/{*.c,Makefile,README} || die
 
	fi
 

	
 
	if use doc; then
 
		insinto /usr/share/doc/${P}
 
		doins paper/paper.ps || die
 
	fi
 
}
 

	
 
pkg_postinst() {
 
	elog "Note the man pages for this package have been renamed to avoid"
 
	elog "name collisions with some system functions, however, the libs"
 
	elog "and header files have not been changed."
 
	elog "The new names are llist, lcache, lqueue, and lstack."
 
}
0 comments (0 inline, 0 general)