summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaarten Thibaut <murphy@gentoo.org>2002-04-22 01:44:41 +0000
committerMaarten Thibaut <murphy@gentoo.org>2002-04-22 01:44:41 +0000
commitaf63f5a44293a2fd8950270ec9eaf6bdebb7c0bb (patch)
tree864d133ecb16bbaad47c8f548ffefaa69a350224 /media-video/xanim
parentAdded missing digest (diff)
downloadgentoo-2-af63f5a44293a2fd8950270ec9eaf6bdebb7c0bb.tar.gz
gentoo-2-af63f5a44293a2fd8950270ec9eaf6bdebb7c0bb.tar.bz2
gentoo-2-af63f5a44293a2fd8950270ec9eaf6bdebb7c0bb.zip
Adding Sparc support
Diffstat (limited to 'media-video/xanim')
-rw-r--r--media-video/xanim/ChangeLog8
-rw-r--r--media-video/xanim/files/digest-xanim-2.80.1-r27
-rw-r--r--media-video/xanim/xanim-2.80.1-r2.ebuild85
3 files changed, 99 insertions, 1 deletions
diff --git a/media-video/xanim/ChangeLog b/media-video/xanim/ChangeLog
index ae1d900da52c..d7add7a718ae 100644
--- a/media-video/xanim/ChangeLog
+++ b/media-video/xanim/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-video/xanim
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/media-video/xanim/ChangeLog,v 1.1 2002/02/01 21:53:31 gbevin Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/xanim/ChangeLog,v 1.2 2002/04/22 01:44:41 murphy Exp $
+
+*xanim-2.80.1-r2 (22 Apr 2002)
+
+ 22 Apr 2002; M.Thibaut <murphy@gentoo.org> :
+
+ Adding SPARC support.
*xanim-2.80.1-r1 (1 Feb 2002)
diff --git a/media-video/xanim/files/digest-xanim-2.80.1-r2 b/media-video/xanim/files/digest-xanim-2.80.1-r2
new file mode 100644
index 000000000000..b9437042d810
--- /dev/null
+++ b/media-video/xanim/files/digest-xanim-2.80.1-r2
@@ -0,0 +1,7 @@
+MD5 e2ecd086c160f18dd7cc3cac438758c2 xanim2801.tar.gz 441250
+MD5 a61c6cfdf34d395de2d7b747bfedebed xa1.0_cyuv_sparcELF.o.Z 1277
+MD5 2648138325bfacdfc2c35b5954422c3b xa2.0_cvid_sparcELF.o.Z 4730
+MD5 0f7db79cc5d8605e70c79e2c633e5a99 xa2.0_iv32_sparcELF.o.Z 48813
+MD5 a158a6eff799cf6769625ea90889cf71 xa1.0_cyuv_linuxELFg21.o.gz 1141
+MD5 e72191744dbf09ad7c522904cb95ecfd xa2.0_cvid_linuxELFg21.o.gz 3689
+MD5 f10efd80c7ea22d1c7ea4962b6c09cdf xa2.1_iv32_linuxELFg21.o.gz 29291
diff --git a/media-video/xanim/xanim-2.80.1-r2.ebuild b/media-video/xanim/xanim-2.80.1-r2.ebuild
new file mode 100644
index 000000000000..40aff467e08e
--- /dev/null
+++ b/media-video/xanim/xanim-2.80.1-r2.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Achim Gottinger <achim@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/media-video/xanim/xanim-2.80.1-r2.ebuild,v 1.1 2002/04/22 01:44:41 murphy Exp $
+
+_XA_CYUV_SPARC=xa1.0_cyuv_sparcELF.o
+_XA_CVID_SPARC=xa2.0_cvid_sparcELF.o
+_XA_IV32_SPARC=xa2.0_iv32_sparcELF.o
+_XA_SPARC_EXT=.Z
+
+_XA_CYUV_I386=xa1.0_cyuv_linuxELFg21.o
+_XA_CVID_I386=xa2.0_cvid_linuxELFg21.o
+_XA_IV32_I386=xa2.1_iv32_linuxELFg21.o
+_XA_I386_EXT=.gz
+
+case $ARCH in
+ sparc*)
+ _XA_CYUV=$_XA_CYUV_SPARC
+ _XA_CVID=$_XA_CVID_SPARC
+ _XA_IV32=$_XA_IV32_SPARC
+ _XA_EXT=$_XA_SPARC_EXT
+ _XA_UNCOMPRESS=uncompress
+ ;;
+ *)
+ _XA_CYUV=$_XA_CYUV_I386
+ _XA_CVID=$_XA_CVID_I386
+ _XA_IV32=$_XA_IV32_I386
+ _XA_EXT=$_XA_I386_EXT
+ _XA_UNCOMPRESS=gunzip
+ ;;
+esac
+
+A="xanim2801.tar.gz \
+ ${_XA_CYUV_SPARC}${_XA_SPARC_EXT} ${_XA_CVID_SPARC}${_XA_SPARC_EXT} \
+ ${_XA_IV32_SPARC}${_XA_SPARC_EXT} \
+ ${_XA_CYUV_I386}${_XA_I386_EXT} ${_XA_CVID_I386}${_XA_I386_EXT} \
+ ${_XA_IV32_I386}${_XA_I386_EXT}"
+S=${WORKDIR}/xanim2801
+DESCRIPTION="XAnim"
+SRC_URI="ftp://xanim.va.pubnix.com/xanim2801.tar.gz
+ ftp://xanim.va.pubnix.com/modules/${_XA_CYUV_SPARC}${_XA_SPARC_EXT}
+ ftp://xanim.va.pubnix.com/modules/${_XA_CVID_SPARC}${_XA_SPARC_EXT}
+ ftp://xanim.va.pubnix.com/modules/${_XA_IV32_SPARC}${_XA_SPARC_EXT}
+ ftp://xanim.va.pubnix.com/modules/${_XA_CYUV_I386}${_XA_I386_EXT}
+ ftp://xanim.va.pubnix.com/modules/${_XA_CVID_I386}${_XA_I386_EXT}
+ ftp://xanim.va.pubnix.com/modules/${_XA_IV32_I386}${_XA_I386_EXT}"
+HOMEPAGE="http://xanim.va.pubnix.com"
+
+DEPEND="virtual/glibc virtual/x11 >=sys-libs/zlib-1.1.3"
+
+if [ `expr $ARCH : 'sparc' ` -eq 5 ]
+then
+ RDEPEND="app-arch/ncompress"
+fi
+
+src_unpack() {
+ unpack xanim2801.tar.gz
+ mkdir ${S}/mods
+ cd ${S}/mods
+ cp ${DISTDIR}/${_XA_CYUV}${_XA_EXT} .
+ $_XA_UNCOMPRESS ${_XA_CYUV}${_XA_EXT}
+ cp ${DISTDIR}/${_XA_CVID}${_XA_EXT} .
+ $_XA_UNCOMPRESS ${_XA_CVID}${_XA_EXT}
+ cp ${DISTDIR}/${_XA_IV32}${_XA_EXT} .
+ $_XA_UNCOMPRESS ${_XA_IV32}${_XA_EXT}
+ sed -e "s:-O2:${CFLAGS}:" ${FILESDIR}/Makefile > ${S}/Makefile
+}
+
+src_compile() {
+
+ try make XA_IV32_LIB=mods/${_XA_CYUV} XA_CVID_LIB=mods/${_XA_CVID} \
+ XA_CYUV_LIB=mods/${_XA_IV32}
+
+}
+
+src_install () {
+
+ into /usr
+ dobin xanim
+ newman docs/xanim.man xanim.1
+ insinto /usr/lib/xanim/mods
+ doins mods/*
+ dodoc README
+ dodoc docs/README.* docs/*.readme docs/*.doc
+}