summaryrefslogtreecommitdiff
blob: 68fef8eb2f2031384e52d871183c040cbc4e0d1a (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
41
42
# Copyright 1999-2002 Gentoo Technologies, Inc.                                 
# Distributed under the terms of the GNU General Public License v2              
# $Header: /var/cvsroot/gentoo-x86/x11-misc/idesk/idesk-0.3.4.ebuild,v 1.1 2002/11/01 09:22:03 bcowan Exp $                                                                    
DESCRIPTION="Utility to place icons on the root window"                         
                                                                                
HOMEPAGE="http://linuxhelp.hn.org/idesk.php"                           
SRC_URI="http://linuxhelp.hn.org/${P}.tar.gz"                  
                                                                                
LICENSE="BSD"                                                                   
SLOT="0"                                                                        
KEYWORDS="x86"                                                                  
                                                                                
DEPEND=">media-libs/imlib-1.9.14
	virtual/x11"                                           

S="${WORKDIR}/${P}"                                                            

src_unpack() {
	unpack ${A}
	cd ${S}
	
	#Allow for more robust CXXFLAGS
	mv Makefile Makefile.orig
	sed -e "s/-g -O2/${CXXFLAGS}/" Makefile.orig > Makefile
}

src_compile() {
	emake || die
}	

src_install() {                                                                
	exeinto /usr/bin
	doexe idesk	                                  
	dodoc README
}                                                                               

pkg_postinst() {
	einfo
	einfo "NOTE: Please refer to ${HOMEPAGE}"
	einfo "NOTE: For info on configuring ${PN}"
	einfo
}