summaryrefslogtreecommitdiff
path: root/dev-libs/libcpml/libcpml-5.2.01.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libcpml/libcpml-5.2.01.ebuild')
-rw-r--r--dev-libs/libcpml/libcpml-5.2.01.ebuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/dev-libs/libcpml/libcpml-5.2.01.ebuild b/dev-libs/libcpml/libcpml-5.2.01.ebuild
index 0ff51c6..e651457 100644
--- a/dev-libs/libcpml/libcpml-5.2.01.ebuild
+++ b/dev-libs/libcpml/libcpml-5.2.01.ebuild
@@ -13,7 +13,7 @@ LICENSE="compaq-sdla"
SLOT="5.2.01"
KEYWORDS="-* ~alpha"
IUSE="ev6"
-RESTRICT="fetch strip nomirror"
+RESTRICT="fetch strip mirror"
DEPEND="virtual/libc
sys-devel/binutils
@@ -26,27 +26,27 @@ S=${WORKDIR}/usr
src_unpack() {
rpm_src_unpack
- find ${S} -type d -exec chmod a+rx {} \;
+ find "${S}" -type d -exec chmod a+rx {} \;
}
src_compile () {
local EV; use ev6 && EV=ev6 || EV=ev5
- cd ${S}/lib/compaq/cpml-5.2.0
- ld ${LDFLAGS} -shared -o libcpml_${EV}.so -soname libcpml.so \
+ cd "${S}"/lib/compaq/cpml-5.2.0
+ ld -shared -o libcpml_${EV}.so -soname libcpml.so \
-whole-archive libcpml_${EV}.a -no-whole-archive -lots
}
src_install() {
local EV; use ev6 && EV=ev6 || EV=ev5
- mv ${S} ${D}
+ mv "${S}" "${D}"
dodir /usr/lib/
dosym ./compaq/cpml-5.2.0/libcpml_${EV}.so /usr/lib/libcpml_${EV}.so
dosym ./compaq/cpml-5.2.0/libcpml_${EV}.a /usr/lib/libcpml_${EV}.a
dodir /usr/share
- mv ${D}/usr/doc ${D}/usr/share
+ mv "${D}"/usr/doc "${D}"/usr/share
dosym ./compaq/cpml-5.2.0/libcpml_${EV}.so /usr/lib/libcpml.so
dosym ./compaq/cpml-5.2.0/libcpml_${EV}.a /usr/lib/libcpml.a