Lines 2-7
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/x11-misc/fspanel/fspanel-0.8_beta1-r2.ebuild,v 1.10 2007/08/02 12:43:41 uberlord Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/x11-misc/fspanel/fspanel-0.8_beta1-r2.ebuild,v 1.10 2007/08/02 12:43:41 uberlord Exp $ |
4 |
|
4 |
|
|
|
5 |
inherit eutils |
6 |
|
5 |
MY_P=${P/_beta/beta} |
7 |
MY_P=${P/_beta/beta} |
6 |
|
8 |
|
7 |
DESCRIPTION="F***ing Small Panel. Good (and small) replacement for gnome-panel" |
9 |
DESCRIPTION="F***ing Small Panel. Good (and small) replacement for gnome-panel" |
Lines 25-45
S=${WORKDIR}/${MY_P}
Link Here
|
25 |
|
27 |
|
26 |
src_unpack() { |
28 |
src_unpack() { |
27 |
unpack ${A} |
29 |
unpack ${A} |
28 |
sed -i -e 's,/X11R6,,g' "${S}/configure" |
30 |
cd "${S}" |
|
|
31 |
|
32 |
epatch "${FILESDIR}"/configure.patch |
29 |
} |
33 |
} |
30 |
|
34 |
|
31 |
src_compile() { |
35 |
src_compile() { |
32 |
if pkg-config xft; then |
36 |
export BINDIR="${D}/usr/bin" |
33 |
CFLAGS="${CFLAGS} -I/usr/include/freetype2" |
|
|
34 |
fi |
35 |
|
37 |
|
36 |
./configure || die "configure failed" |
38 |
econf |
37 |
emake || die "emake failed" |
39 |
emake || die "emake failed" |
38 |
} |
40 |
} |
39 |
|
41 |
|
40 |
src_install () { |
42 |
src_install () { |
41 |
exeinto /usr/bin |
43 |
emake DESTDIR="${D}" install || die "install failed" |
42 |
doexe "${S}/fspanel" |
44 |
dodoc README || die "dodoc failed" |
43 |
|
|
|
44 |
dodoc README |
45 |
} |
45 |
} |