Lines 2-8
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/app-misc/beanstalkd/beanstalkd-1.0.ebuild,v 1.1 2008/08/15 21:24:34 caleb Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-misc/beanstalkd/beanstalkd-1.0.ebuild,v 1.1 2008/08/15 21:24:34 caleb Exp $ |
4 |
|
4 |
|
5 |
inherit eutils |
5 |
inherit eutils toolchain-funcs |
6 |
|
6 |
|
7 |
DESCRIPTION="A fast, distributed, in-memory workqueue service" |
7 |
DESCRIPTION="A fast, distributed, in-memory workqueue service" |
8 |
HOMEPAGE="http://xph.us/software/beanstalkd/" |
8 |
HOMEPAGE="http://xph.us/software/beanstalkd/" |
Lines 22-30
Link Here
|
22 |
cd "${S}" |
22 |
cd "${S}" |
23 |
|
23 |
|
24 |
epatch "${FILESDIR}/Makefile.install.patch" |
24 |
epatch "${FILESDIR}/Makefile.install.patch" |
|
|
25 |
sed -i \ |
26 |
-e '/^export LDFLAGS :=/s/FLAGS/LIBS/g' \ |
27 |
-e 's/$(CFLAGS) -O2/-O2 $(CFLAGS)/' \ |
28 |
Makefile |
25 |
} |
29 |
} |
26 |
|
30 |
|
27 |
src_compile() { |
31 |
src_compile() { |
|
|
32 |
tc-export CC |
28 |
emake || die "emake failed." |
33 |
emake || die "emake failed." |
29 |
} |
34 |
} |
30 |
|
35 |
|