summaryrefslogtreecommitdiff
blob: c55c94833d5353aa02b7680183289d8778b0569d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/net-p2p/lopster/lopster-1.0.1-r2.ebuild,v 1.2 2002/06/25 11:12:27 bangert Exp $

A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="A Napster Client using GTK"
SRC_URI="http://download.sourceforge.net/lopster/${A}"
HOMEPAGE="http://lopster.sourceforge.net"
SLOT="0"

DEPEND="virtual/glibc nls? ( sys-devel/gettext )
	=x11-libs/gtk+-1.2*
        virtual/x11"

RDEPEND="virtual/glibc
	=x11-libs/gtk+-1.2*
        virtual/x11"

src_compile() {
    if [ -z "`use nls`" ] ; then
      myconf="--disable-nls"
    fi
    try ./configure --prefix=/usr --host=${CHOST} $myconf
    try make

}

src_install () {

    try make DESTDIR=${D} gnulocaledir=/usr/share/locale install
    dodoc AUTHORS BUGS COPYING README ChangeLog NEWS
}