Lines 2-8
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.2.11.ebuild,v 1.3 2005/08/23 16:38:44 ka0ttic Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.2.11.ebuild,v 1.3 2005/08/23 16:38:44 ka0ttic Exp $ |
4 |
|
4 |
|
5 |
inherit perl-module flag-o-matic gnuconfig eutils multilib |
5 |
inherit perl-module flag-o-matic gnuconfig eutils |
6 |
|
6 |
|
7 |
DESCRIPTION="A system to store and display time-series data" |
7 |
DESCRIPTION="A system to store and display time-series data" |
8 |
HOMEPAGE="http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/" |
8 |
HOMEPAGE="http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/" |
Lines 35-46
Link Here
|
35 |
bindings/tcl/tclrrd.c || die "sed failed" |
35 |
bindings/tcl/tclrrd.c || die "sed failed" |
36 |
sed -i -e 's:-lrrd_private:-ltcl -lrrd:' \ |
36 |
sed -i -e 's:-lrrd_private:-ltcl -lrrd:' \ |
37 |
bindings/tcl/Makefile.* || die "sed failed" |
37 |
bindings/tcl/Makefile.* || die "sed failed" |
38 |
sed -i -e 's:python_PROGRAMS:pyexec_PROGRAMS:' \ |
|
|
39 |
bindings/python/Makefile.* || die "sed failed" |
40 |
sed -i -e 's:\$TCL_PACKAGE_PATH:${TCL_PACKAGE_PATH%% *}:' \ |
41 |
configure.ac |
42 |
libtoolize --copy --force |
43 |
autoreconf |
44 |
} |
38 |
} |
45 |
|
39 |
|
46 |
pkg_setup() { |
40 |
pkg_setup() { |
Lines 55-61
Link Here
|
55 |
myconf="--datadir=/usr/share --enable-shared" |
49 |
myconf="--datadir=/usr/share --enable-shared" |
56 |
|
50 |
|
57 |
use tcltk \ |
51 |
use tcltk \ |
58 |
&& myconf="${myconf} --with-tcllib=/usr/$(get_libdir)" \ |
52 |
&& myconf="${myconf} --with-tcllib=/usr/lib" \ |
59 |
|| myconf="${myconf} --without-tcllib" |
53 |
|| myconf="${myconf} --without-tcllib" |
60 |
|
54 |
|
61 |
use python || myconf="${myconf} --disable-python" |
55 |
use python || myconf="${myconf} --disable-python" |
Lines 97-106
Link Here
|
97 |
|
91 |
|
98 |
if use tcltk ; then |
92 |
if use tcltk ; then |
99 |
mv ${S}/bindings/tcl/tclrrd.so ${S}/bindings/tcl/tclrrd${PV}.so |
93 |
mv ${S}/bindings/tcl/tclrrd.so ${S}/bindings/tcl/tclrrd${PV}.so |
100 |
insinto /usr/$(get_libdir)/tcl${TCL_VER}/tclrrd${PV} |
94 |
insinto /usr/lib/tcl${TCL_VER}/tclrrd${PV} |
101 |
doins ${S}/bindings/tcl/tclrrd${PV}.so |
95 |
doins ${S}/bindings/tcl/tclrrd${PV}.so |
102 |
echo "package ifneeded Rrd ${PV} [list load [file join \$$dir .. tclrrd${PV}.so]]" \ |
96 |
echo "package ifneeded Rrd ${PV} [list load [file join \$$dir .. tclrrd${PV}.so]]" \ |
103 |
>> ${D}/usr/$(get_libdir)/tcl${TCL_VER}/tclrrd${PV}/pkgIndex.tcl |
97 |
>> ${D}/usr/lib/tcl${TCL_VER}/tclrrd${PV}/pkgIndex.tcl |
104 |
fi |
98 |
fi |
105 |
|
99 |
|
106 |
dodoc COPY* CONTR* README TODO |
100 |
dodoc COPY* CONTR* README TODO |