Changeset - 3e96ebbf2bc9
[Not reviewed]
default
0 2 0
Nathan Brink (binki) - 15 years ago 2009-12-23 01:39:00
ohnobinki@ohnopublishing.net
dev-libs/liblist: fix installatoin of the cache manpage
2 files changed with 5 insertions and 1 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 $
 

	
 
  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)
 

	
 
  05 Dec 2009; Steve Arnold <nerdboy@gentoo.org> +liblist-2.1-r1.ebuild,
 
  +files/liblist-2.1-sharedlib.patch:
 
  Lemony-fresh rev-bump, now with shared library support. Closes bug #294788.
 
  Manifest issue also fixed (closes bug #294785).
 

	
 
*liblist-2.1 (20 Apr 2009)
 

	
 
  20 Apr 2009; Steve Arnold <nerdboy@gentoo.org> +metadata.xml,
 
  +liblist-2.1.ebuild:
 
  New ebuild for a generic list library, a required dependency for ferret.
 
  Updated source code hosted by me (no upstream URL anymore).  Comes with
 
  a nice technical paper and example routines.
 

	
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
 

	
 
DESCRIPTION="This package provides generic linked-list manipulation routines, plus queues and stacks."
 
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"
 
}
 

	
 
src_compile() {
 
	make CC="$(tc-getCC)" LD="$(tc-getCC)" \
 
		|| die "make failed"
 
}
 

	
 
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
 
	dodoc README || die
 

	
 
	if use examples; then
 
		dolib.a examples/cache/libcache.a || die
 
		dobin examples/cache/cachetest || die
 
		newman cache.3 lcache.3 || 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)