summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/raknet/raknet-2.521.ebuild')
-rw-r--r--net-libs/raknet/raknet-2.521.ebuild20
1 files changed, 9 insertions, 11 deletions
diff --git a/net-libs/raknet/raknet-2.521.ebuild b/net-libs/raknet/raknet-2.521.ebuild
index 94b145768..22a3da115 100644
--- a/net-libs/raknet/raknet-2.521.ebuild
+++ b/net-libs/raknet/raknet-2.521.ebuild
@@ -11,24 +11,24 @@ SRC_URI="http://perso.renchap.com/${P}.tgz"
LICENSE="CCPL-Attribution-NonCommercial-2.5"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="doc"
+IUSE=""
DEPEND=""
RDEPEND=""
src_unpack() {
unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${P}-gentoo.diff
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-gentoo.diff
ebegin "Setting makefile variables"
- echo "VERSION = ${PV}" >> ${S}/makefile.defs
- echo "LIBS_DIR = ${D}/usr/lib" >> ${S}/makefile.defs
- echo "INCLUDE_DIR = ${D}/usr/include" >> ${S}/makefile.defs
+ echo "VERSION = ${PV}" >> "${S}"/makefile.defs
+ echo "LIBS_DIR = ${D}/usr/lib" >> "${S}"/makefile.defs
+ echo "INCLUDE_DIR = ${D}/usr/include" >> "${S}"/makefile.defs
eend
}
src_compile() {
- emake -j1 || die "Error: emake failed!"
+ emake -j1 || die "emake failed!"
}
src_install() {
@@ -36,8 +36,6 @@ src_install() {
dosym /usr/lib/libraknet.so.${PV} /usr/lib/libraknet.so
insinto /usr/include/raknet
doins Include/*
- if use doc; then # if the useflag doc is enabled we copy our readme as well
- dodoc readme.txt
- dohtml Help/*
- fi
+ dodoc readme.txt
+ dohtml Help/*
}