diff options
author | Chris Houser <chouser@gentoo.org> | 2002-02-27 02:56:13 +0000 |
---|---|---|
committer | Chris Houser <chouser@gentoo.org> | 2002-02-27 02:56:13 +0000 |
commit | 8841b794f2832e1a9c444b2eb54c24046d3d9457 (patch) | |
tree | d739faccba2be92cab9e78135279941722bb22a5 /dev-libs/publib | |
parent | Fixed a typo. (diff) | |
download | gentoo-2-8841b794f2832e1a9c444b2eb54c24046d3d9457.tar.gz gentoo-2-8841b794f2832e1a9c444b2eb54c24046d3d9457.tar.bz2 gentoo-2-8841b794f2832e1a9c444b2eb54c24046d3d9457.zip |
Initial ebuild for Gentoo. This closes bug 596. Thanks Ilian Zarov!
Diffstat (limited to 'dev-libs/publib')
-rw-r--r-- | dev-libs/publib/ChangeLog | 30 | ||||
-rw-r--r-- | dev-libs/publib/files/digest-publib-0.31 | 1 | ||||
-rw-r--r-- | dev-libs/publib/publib-0.31.ebuild | 42 |
3 files changed, 73 insertions, 0 deletions
diff --git a/dev-libs/publib/ChangeLog b/dev-libs/publib/ChangeLog new file mode 100644 index 000000000000..6ea8adee4297 --- /dev/null +++ b/dev-libs/publib/ChangeLog @@ -0,0 +1,30 @@ +# ChangeLog for dev-libs/publib +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL +# $Header: /var/cvsroot/gentoo-x86/dev-libs/publib/ChangeLog,v 1.1 2002/02/27 02:56:13 chouser Exp $ + +*publib-0.31 (26 Feb 2002) + + 26 Feb 2002; Chris Houser <chouser@gentoo.org> publib-0.31.ebuild + files/digest-publib-0.31 ChangeLog : + + Renamed the man pages to section "o" to avoid collision with more + standard man page names. Polished up the ebuild, added ChangeLog + and checked in to ebuild tree. + + This closes bug 596. Thanks Ilian Zarov! + + + 7 Feb 2002; Ilian Zarov <coder@descom.com> publib-0.31.ebuild : + + Initial ebuild for Gentoo. + + Publib is a library of C functions for various purposes. It has been + written so that it is easy to extend. It's build tools can easily be + used for other libraries. + + The library contains functions for memory allocation, bit arrays, + configuration files, comparing standard C types for qsort and + bsearch, error messages, expression parsing and evaluation, + filenames, hash tables, integer sets, log files, the Linux Software + Map, NNTP, priority queues, normal queues, editor buffers, stacks, + and strings. diff --git a/dev-libs/publib/files/digest-publib-0.31 b/dev-libs/publib/files/digest-publib-0.31 new file mode 100644 index 000000000000..468410745011 --- /dev/null +++ b/dev-libs/publib/files/digest-publib-0.31 @@ -0,0 +1 @@ +MD5 20ca5a149434ea1ad06d06b385bff119 publib_0.31.tar.gz 162311 diff --git a/dev-libs/publib/publib-0.31.ebuild b/dev-libs/publib/publib-0.31.ebuild new file mode 100644 index 000000000000..4b3a4cefeafd --- /dev/null +++ b/dev-libs/publib/publib-0.31.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/publib/publib-0.31.ebuild,v 1.1 2002/02/27 02:56:13 chouser Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="C library of misc utility functions (parsing, data structs, etc.)" +SRC_URI="http://liw.iki.fi/liw/programs/debian/publib_${PV}.tar.gz" +HOMEPAGE="http://liw.iki.fi/liw/programs/" +DEPEND="virtual/glibc" + +src_compile() { + mkdir objs + cd objs + ../framework/configure \ + --host=${CHOST} \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --with-modules=${S}/liw \ + --with-library=publib \ + --with-libshort=pub || die "./configure failed" + emake || die "emake failed" +} + +src_install () { + # install extra docs + dodoc Changes framework/README framework/COPYING framework/TODO + dodoc framework/Blurb debian/changelog + + # main install + cd objs + mkdir -p ${D}/usr/share/man/mano + mkdir -p ${D}/usr/lib + mkdir -p ${D}/usr/include/publib + make prefix=${D}/usr man3ext=o man3dir=${D}/usr/share/man/mano install \ + || die "make install failed" + + # adjust man page titles to fit the "o" set above (instead of "3") + for file in ${D}/usr/share/man/mano/*; do + sed 's/^\(\.TH [A-Z0-9]* \)3/\1o/' $file > $file.new + mv $file.new $file + done +} |