aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrozin <grozin@32389bae-6d03-0410-99cf-db05cde120eb>2007-02-15 17:58:25 +0000
committergrozin <grozin@32389bae-6d03-0410-99cf-db05cde120eb>2007-02-15 17:58:25 +0000
commit1b129d1ae0f2992567d13a034d6838a6ae0af170 (patch)
tree230dd68bb92554c9289ccd0856a283ef5a8bd1e4 /dev-lang
parentaldor-1.0.3 (binary, x86 only) (diff)
downloadsci-1b129d1ae0f2992567d13a034d6838a6ae0af170.tar.gz
sci-1b129d1ae0f2992567d13a034d6838a6ae0af170.tar.bz2
sci-1b129d1ae0f2992567d13a034d6838a6ae0af170.zip
aldor-1.0.3 (binary, x86 only)
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@488 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/aldor/Manifest8
-rw-r--r--dev-lang/aldor/aldor-1.0.3.ebuild30
2 files changed, 19 insertions, 19 deletions
diff --git a/dev-lang/aldor/Manifest b/dev-lang/aldor/Manifest
index 59cdbaaf6..ec0a49e6a 100644
--- a/dev-lang/aldor/Manifest
+++ b/dev-lang/aldor/Manifest
@@ -4,10 +4,10 @@ DIST aldorug.pdf.gz 767850 RMD160 7b2f9496b303caee0642ea74e58524699b122f19 SHA1
DIST algebra.dvi.gz 224384 RMD160 5c02725edd5487ce0ed559ec9d70ac8b2dcafcda SHA1 5cc216b314c06bfa4868385dc36ef19b1e1b8520 SHA256 bce290c458dabb80fd390729dd0da5738694124d8571a6a941c087a71d14da38
DIST libaldor.pdf.gz 434487 RMD160 c7d7130eca8d820a291786f11288deefbe1a672e SHA1 e231e2171b5906ba0812508d548c759f235625b5 SHA256 57371d1bd6031c350783e063533ba9ba1d82e681dca54fa3b4de42a339c9a668
DIST tutorial.pdf.gz 164786 RMD160 1ceea46bd6a7b22003ff06842d656b0d57d011bf SHA1 62a4d224a60b6abc1fc8d49ac0f2a41860f001da SHA256 a0339b7c59632c8825e26603330b5a4010aeeb843ddad06c6b54d029519c7e65
-EBUILD aldor-1.0.3.ebuild 2434 RMD160 8f270c742850e2c4fc8338c5c74d4810fb517e86 SHA1 18395e0010f3564bc15f940365e3212182559128 SHA256 7078b03a60c039f43c9f4dc2cab5b0d3171b5f02b7d122526a70da91890bc636
-MD5 16cf9c7640bf66a1c8cefff9ee58c492 aldor-1.0.3.ebuild 2434
-RMD160 8f270c742850e2c4fc8338c5c74d4810fb517e86 aldor-1.0.3.ebuild 2434
-SHA256 7078b03a60c039f43c9f4dc2cab5b0d3171b5f02b7d122526a70da91890bc636 aldor-1.0.3.ebuild 2434
+EBUILD aldor-1.0.3.ebuild 2573 RMD160 db3f53c1d473567a00ee1df2cc9a7d7f126084b2 SHA1 71781dafb9869dab3230aa538ee10547daa4cfa5 SHA256 046c82bc21fedfda25b6bf3d68229ce357b0f294ad1d5a67f07d7682e50d6e0a
+MD5 69eb0b18d7fd61753f009ce72649c907 aldor-1.0.3.ebuild 2573
+RMD160 db3f53c1d473567a00ee1df2cc9a7d7f126084b2 aldor-1.0.3.ebuild 2573
+SHA256 046c82bc21fedfda25b6bf3d68229ce357b0f294ad1d5a67f07d7682e50d6e0a aldor-1.0.3.ebuild 2573
MISC ChangeLog 271 RMD160 57c92fc93f5bb6f035b76621911f6e56bea2d43d SHA1 bb1869ba62f49cd7093a550b6daf3fd31ccb1532 SHA256 81fd5c130c9fdc85d81a26146c7a1ce57ddc58f32e3f8787627b2977fe3228ab
MD5 a586f72ddce072d11069d651814ceae1 ChangeLog 271
RMD160 57c92fc93f5bb6f035b76621911f6e56bea2d43d ChangeLog 271
diff --git a/dev-lang/aldor/aldor-1.0.3.ebuild b/dev-lang/aldor/aldor-1.0.3.ebuild
index 32eb22b36..a07ff563e 100644
--- a/dev-lang/aldor/aldor-1.0.3.ebuild
+++ b/dev-lang/aldor/aldor-1.0.3.ebuild
@@ -48,31 +48,27 @@ pkg_nofetch() {
einfo "Then move the downloaded file${PLURAL} to ${DISTDIR}"
}
-src_unpack() {
+src_compile() {
if use emacs; then
notangle "${DISTDIR}/aldor.el.nw" > aldor.el
notangle -Rinit.el "${DISTDIR}/aldor.el.nw" | \
sed -e '1s/^.*$/;; aldor mode/' > 64aldor-gentoo.el
- use doc && noweave "${DISTDIR}/aldor.el.nw" > aldor-mode.tex
- fi
-}
-
-src_compile() {
- if use doc; then
- dvipdfm algebra.dvi
- if use emacs; then
+ if use doc; then
+ noweave "${DISTDIR}/aldor.el.nw" > aldor-mode.tex
pdflatex aldor-mode.tex
pdflatex aldor-mode.tex
fi
fi
+ if use doc; then
+ dvipdfm algebra.dvi
+ fi
}
src_install() {
local LINE="205"
dodir /opt
cd "${D}/opt"
- tail -n +"${LINE}" "${DISTDIR}/${SRC_URI}" | tar xzf -
- dodir "/opt/${PN}/${PV}"
+ tail -n +"${LINE}" "${DISTDIR}/${ALDOR}" | tar xzf -
cd "${D}/opt/${PN}/linux/${PV}/bin"
cd "${S}"
cat > 64aldor <<EOF
@@ -91,11 +87,15 @@ EOF
}
pkg_postinst() {
- ln -s "/opt/${PN}/linux/${PV}" "/opt/${PN}/${PV}/linux"
- ln -s `which ar` "/opt/${PN}/linux/${PV}/bin/uniar"
+ mkdir "${ROOT}opt/${PN}/${PV}"
+ ln -s "${ROOT}opt/${PN}/linux/${PV}" "${ROOT}opt/${PN}/${PV}/linux"
+ ln -s `which ar` "${ROOT}opt/${PN}/linux/${PV}/bin/uniar"
+ use emacs && elisp-site-regen
}
pkg_prerm() {
- rm -f "/opt/${PN}/${PV}/linux"
- rm -rf "/opt/${PN}/linux"
+ rm -f "${ROOT}opt/${PN}/${PV}/linux"
+ rmdir "${ROOT}opt/${PN}/${PV}"
+ rm -f "${ROOT}opt/${PN}/linux/${PV}/bin/uniar"
+ [ -f "${SITELISP}/site-gentoo.el" ] && elisp-site-regen
}