1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2025-01-22 22:58:34 +00:00

updated ebuild, version

git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@371 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
Brenden Matthews 2005-11-02 05:27:31 +00:00
parent b3f72c8b4a
commit a8095f83c6
4 changed files with 185 additions and 107 deletions

8
README
View File

@ -36,14 +36,16 @@ COMPILING
mid-September, hopefully), and then Ubuntu shortly thereafter. Until
then, "dpkg -i" the .deb package to install.
To compile and run Conky with all optional components:
Example to compile and run Conky with all optional components (note
that some configure options may differ for your system):
sh autogen.sh # Only required if building from CVS
./configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --enable-double-buffer --enable-own-window
--enable-proc-uptime --enable-mpd --enable-xft --enable-seti
--localstatedir=/var/lib --enable-xft --enable-seti --enable-dou-
ble-buffer --enable-own-window --enable-proc-uptime --enable-mpd
--enable-mldonkey --enable-x11 --enable-portmon
make

View File

@ -0,0 +1,76 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header$
inherit eutils
DESCRIPTION="Conky is an advanced, highly configurable system monitor for X"
HOMEPAGE="http://conky.sf.net"
SRC_URI="mirror://sourceforge/conky/${P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="truetype seti X ipv6"
DEPEND_COMMON="
virtual/libc
X? (
virtual/x11
truetype? ( >=media-libs/freetype-2 )
)"
RDEPEND="${DEPEND_COMMON}
seti? ( sci-astronomy/setiathome )"
DEPEND="
${DEPEND_COMMON}
>=sys-devel/automake-1.9
>=sys-devel/autoconf-2.59
sys-devel/libtool
sys-apps/grep
sys-apps/sed
sys-devel/gcc"
src_compile() {
local myconf
myconf="--enable-double-buffer --enable-own-window --enable-proc-uptime
--enable-mpd --enable-mldonkey"
econf \
${myconf} \
$(use_enable truetype xft) \
$(use_enable X x11) \
$(use_enable !ipv6 portmon) \
$(use_enable seti) || die "econf failed"
emake || die "compile failed"
}
src_install() {
emake DESTDIR=${D} install || die "make install failed"
dodoc ChangeLog AUTHORS README doc/conkyrc.sample doc/variables.html
dodoc doc/docs.html doc/config_settings.html
}
pkg_postinst() {
einfo 'Default configuration file is "~/.conkyrc"'
einfo "you can find a sample configuration file in"
einfo "/usr/share/doc/${PF}/conkyrc.sample.gz"
einfo
einfo "For more info on Conky's new features,"
einfo "please look at the README and ChangeLog:"
einfo "/usr/share/doc/${PF}/README.gz"
einfo "/usr/share/doc/${PF}/ChangeLog.gz"
einfo "There are also pretty html docs available"
einfo "on Conky's site or in /usr/share/doc/${PF}"
einfo
einfo "Comment out temperature info lines if you have no kernel"
einfo "support for it."
einfo
einfo "Check out app-vim/conky-syntax for conkyrc"
einfo "syntax highlighting in Vim"
einfo
ewarn "Conky doesn't work with window managers that"
ewarn "take control over root window such as Gnome's nautilus."
ewarn
}

View File

@ -1,6 +1,6 @@
AC_INIT([Conky],[1.3.3],[brenden1@users.sourceforge.net])
AC_INIT([Conky],[1.3.4],[brenden1@users.sourceforge.net])
AM_INIT_AUTOMAKE(conky, 1.3.3)
AM_INIT_AUTOMAKE(conky, 1.3.4)
AM_CONFIG_HEADER(src/config.h)
AC_PROG_LIBTOOL

View File

@ -38,9 +38,9 @@ if BUILD_X11
x11 = x11.c
endif
conky_SOURCES = common.c fs.c $(linux) mail.c mixer.c $(seti) $(mpd) $(solaris) $(freebsd) $(netbsd) $(port_monitors) $(cairo) conky.c conky.h $(x11) $(mldonkey) remoted.c remoted.h remotec.c remotec.h
conky_SOURCES = common.c fs.c $(linux) mail.c mixer.c $(seti) $(mpd) $(solaris) $(freebsd) $(netbsd) $(port_monitors) conky.c conky.h $(x11) $(mldonkey) remoted.c remoted.h remotec.c remotec.h
AM_LDFLAGS = $(X11_LIBS) $(XFT_LIBS) $(CAIRO_LIBS) $(PTHREAD_LIBS) -lm
EXTRA_DIST = seti.c linux.c solaris.c freebsd.c netbsd.c mpd.c libmpdclient.c \
cairo.c libmpdclient.h top.h mldonkey.c ftp.c ftp.h x11.c
libmpdclient.h top.h mldonkey.c ftp.c ftp.h x11.c