summaryrefslogtreecommitdiff
blob: 5810e0fd828ceda2fe2b15ebeb457d046fbb37d8 (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
36
37
38
39
40
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/sulu/sulu-0.15.ebuild,v 1.4 2003/07/12 20:30:59 aliz Exp $

DESCRIPTION="Samsung Uproar Linux Utility (sulu)"
HOMEPAGE="http://www.cs.toronto.edu/~kal/sulu/index.html"
SRC_URI="http://www.cs.toronto.edu/~kal/sulu/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~ppc"

DEPEND=">=dev-libs/libusb-0.1.7
		>=media-sound/lame-3.93.1
		>=media-sound/mpg123-0.59
		=x11-libs/gtk+-1.2*
		>=sys-apps/hotplug-20020826"

S=${WORKDIR}/${P}

src_compile() {
	make || die
}

src_install() {
		dodoc COPYING README changelog todo
		docinto notes
		cp -a notes/* ${D}/usr/share/doc/${PF}/notes
		prepalldocs
		exeinto /usr/bin
		doexe sulu
		exeinto /etc/hotplug/usb
		doexe ${FILESDIR}/uproar
		insinto /etc/hotplug/usb
		doins ${FILESDIR}/uproar.usermap
}
pkg_postinst() {
		einfo "Remember to enable hotplug in your kernel and in"
		einfo "your default runlevel to use sulu as a user instead"
		einfo "of as root."
}