public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Dane Smith" <c1pher@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/c1pher:master commit in: dev-util/ati-stream-sdk/files/, dev-util/ati-stream-sdk/
Date: Wed, 23 Feb 2011 18:21:06 +0000 (UTC)	[thread overview]
Message-ID: <2d5c8e8dc3ab5e5afd486bdcd3bc53833849de36.c1pher@gentoo> (raw)

commit:     2d5c8e8dc3ab5e5afd486bdcd3bc53833849de36
Author:     Dane Smith <c1pher <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 23 18:16:29 2011 +0000
Commit:     Dane Smith <c1pher <AT> gentoo <DOT> org>
CommitDate: Wed Feb 23 18:16:29 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/c1pher.git;a=commit;h=2d5c8e8d

Multilib+

---
 dev-util/ati-stream-sdk/Manifest                   |    4 +-
 .../ati-stream-sdk/ati-stream-sdk-2.3-r1.ebuild    |    8 ++++-
 dev-util/ati-stream-sdk/files/Makefile             |   32 ++++++++++----------
 3 files changed, 24 insertions(+), 20 deletions(-)

diff --git a/dev-util/ati-stream-sdk/Manifest b/dev-util/ati-stream-sdk/Manifest
index 735dde4..f39b6a1 100644
--- a/dev-util/ati-stream-sdk/Manifest
+++ b/dev-util/ati-stream-sdk/Manifest
@@ -1,5 +1,5 @@
-AUX Makefile 2284 RMD160 88e0aa563e687c03219676b95c9f464093a7f4be SHA1 517c1088e3917f6a8f8b6358df7de2d964beb192 SHA256 2c6b248be818dc05dd0047cd92f0beaab6ac42689cce858f9d8b9dcd1fe5de3d
+AUX Makefile 2297 RMD160 cb547b9644ae1f1e013f5627fca57d1b47173cde SHA1 8c7308662ab9ba793c285d5fe6a14b8262875c59 SHA256 17fddeaea2c5d94ed0ee01bf4317a9f20f141ea68a92f78ae4c8b7a36fc6c9bd
 DIST ati-stream-sdk-v2.3-lnx32.tgz 49912168 RMD160 07c045de3118531472672e9ef7b3763cb32f7d68 SHA1 972bdbe6942e52411a2f041720348e857f17c388 SHA256 07fd15a51a678c4378767f61466daf9da21d0bab6088a97a70136dd8c976aca6
 DIST ati-stream-sdk-v2.3-lnx64.tgz 78659015 RMD160 57af36f62e590ae54cb9d43b880735979b77466c SHA1 43c94e5126563fe3fa4cb92fb6dd20f12864a86d SHA256 f92537d1fc306af0bff1441af4669bf2fa668654b12d9fb53a3a872dc8826cad
-EBUILD ati-stream-sdk-2.3-r1.ebuild 1785 RMD160 a49779dcf7c9cc2c759edd252a8de82fb2b4731a SHA1 78f96f8730fb3da67dc6939a646567bf82174217 SHA256 b1f1607754f6ca3cb4784242dd260a9e8a6738d08fc7923dbf02ecdd9ee576aa
+EBUILD ati-stream-sdk-2.3-r1.ebuild 1991 RMD160 b4d164ea0df067c366e334c3d2259dea9cb589b2 SHA1 a20ba92ac7d2fbe271c59ea2f8381cdfc9eabfc0 SHA256 d26ae0d006297e2819c5b6a8806d9797d381098a6036a3b329f9b6e333f48738
 MISC metadata.xml 301 RMD160 1ef0179dbe53f24768e976ab60f6ae0e8ca9e672 SHA1 fba668cb8711ac2bcc6b7bfc113a1a513c69b0be SHA256 55f555e646e9d04c8975a736b9a5b3f1d8ea110446c18e988a3b884d0dca33b7

diff --git a/dev-util/ati-stream-sdk/ati-stream-sdk-2.3-r1.ebuild b/dev-util/ati-stream-sdk/ati-stream-sdk-2.3-r1.ebuild
index 4a993c0..d8ca9c6 100644
--- a/dev-util/ati-stream-sdk/ati-stream-sdk-2.3-r1.ebuild
+++ b/dev-util/ati-stream-sdk/ati-stream-sdk-2.3-r1.ebuild
@@ -54,9 +54,13 @@ src_install() {
 	rm include/GL/{glext.h,glut.h} || die
 
 	if use amd64; then
-		emake DESTDIR="${D}" ARCH="amd64" install || die "Install failed";
+		emake DESTDIR="${D}" ARCH="amd64" LIBDIR='$(PREFIX)/'$(get_libdir) install || die "Install failed";
+		if use multilib; then
+			emake DESTDIR="${D}" ARCH="x86" LIBDIR='$(PREFIX)/lib32' \
+				install-lib || die "Install multilib failed"
+		fi
 	else
-		emake DESTDIR="${D}" ARCH="x86" install || die "Install failed";
+		emake DESTDIR="${D}" ARCH="x86" LIBDIR='$(PREFIX)/'$(get_libdir) install || die "Install failed";
 	fi
 
 	cat > "${T}/99${PN}" << EOF

diff --git a/dev-util/ati-stream-sdk/files/Makefile b/dev-util/ati-stream-sdk/files/Makefile
index 9828850..d5bbb83 100644
--- a/dev-util/ati-stream-sdk/files/Makefile
+++ b/dev-util/ati-stream-sdk/files/Makefile
@@ -1,9 +1,9 @@
 DESTDIR=
-PREFIX=$(DESTDIR)/opt/ati-stream-sdk/
-LIBDIR=$(PREFIX)lib/
-BINDIR=$(PREFIX)bin/
-INCDIR=$(PREFIX)include/
-ETCDIR=$(DESTDIR)etc/
+PREFIX=$(DESTDIR)/opt/ati-stream-sdk
+LIBDIR=$(PREFIX)/lib
+BINDIR=$(PREFIX)/bin
+INCDIR=$(PREFIX)/include
+ETCDIR=$(DESTDIR)/etc
 
 INSTALLBIN=install
 INSTALLDAT=install -m0644
@@ -32,9 +32,9 @@ install-etc:
 			f1=`echo $$f | sed -e 's|etc/||g'`;\
 			base=`basename $$f1`;\
 			dir=`echo $$f1 | sed -e "s|$$base||g"`;\
-			test -z "$(ETCDIR)$$dir" || $(MKDIR) "$(ETCDIR)$$dir";\
-			echo "$(INSTALLDAT) $$f $(ETCDIR)$$f1";\
-			$(INSTALLDAT) "$$f" $(ETCDIR)$$f1 || exit 1;\
+			test -z "$(ETCDIR)/$$dir" || $(MKDIR) "$(ETCDIR)/$$dir";\
+			echo "$(INSTALLDAT) $$f $(ETCDIR)/$$f1";\
+			$(INSTALLDAT) "$$f" $(ETCDIR)/$$f1 || exit 1;\
 		else :; fi;\
 	done
 
@@ -43,8 +43,8 @@ install-bin:
 	@list='$(BINFILES)'; for f in $$list; do\
 		if test -f $$f; then\
 			f1=`basename $$f`;\
-			echo "$(INSTALLBIN) $$f $(BINDIR)$$f1";\
-			$(INSTALLBIN) "$$f" "$(BINDIR)$$f1" || exit 1;\
+			echo "$(INSTALLBIN) $$f $(BINDIR)/$$f1";\
+			$(INSTALLBIN) "$$f" "$(BINDIR)/$$f1" || exit 1;\
 		else :; fi;\
 	done
 
@@ -55,9 +55,9 @@ install-lib:
 			f1=`echo $$f | sed -e 's|lib/||g' -e 's|x86*/||g'`;\
 			base=`basename $$f1`;\
 			dir=`echo $$f1 | sed -e "s|$$base||g"`;\
-			test -z "$(LIBDIR)$$dir" || $(MKDIR) "$(LIBDIR)$$dir";\
-			echo "$(INSTALLBIN) $$f $(LIBDIR)$$f1";\
-			$(INSTALLBIN) "$$f" "$(LIBDIR)$$f1" || exit 1;\
+			test -z "$(LIBDIR)/$$dir" || $(MKDIR) "$(LIBDIR)/$$dir";\
+			echo "$(INSTALLBIN) $$f $(LIBDIR)/$$f1";\
+			$(INSTALLBIN) "$$f" "$(LIBDIR)/$$f1" || exit 1;\
 		else :; fi;\
 	done
 
@@ -68,9 +68,9 @@ install-include:
 			f1=`echo $$f | sed -e 's|include||g'`;\
 			base=`basename $$f1`;\
 			dir=`echo $$f1 | sed -e "s|$$base||g"`;\
-			test -z "$(INCDIR)$$dir" || $(MKDIR) "$(INCDIR)$$dir";\
-			echo "$(INSTALLDAT) $$f $(INCDIR)$$f1";\
-			$(INSTALLDAT) $$f $(INCDIR)$$f1 || exit 1;\
+			test -z "$(INCDIR)/$$dir" || $(MKDIR) "$(INCDIR)/$$dir";\
+			echo "$(INSTALLDAT) $$f $(INCDIR)/$$f1";\
+			$(INSTALLDAT) $$f $(INCDIR)/$$f1 || exit 1;\
 		else :; fi;\
 	done
 



             reply	other threads:[~2011-02-23 18:21 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-23 18:21 Dane Smith [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-02-24 19:50 [gentoo-commits] dev/c1pher:master commit in: dev-util/ati-stream-sdk/files/, dev-util/ati-stream-sdk/ Dane Smith
2011-02-24 19:46 Dane Smith
2011-02-24 19:24 Dane Smith
2011-02-24 19:12 Dane Smith
2011-02-24 16:43 Dane Smith
2011-02-24 15:58 Dane Smith
2011-02-24 15:48 Dane Smith
2011-02-24 15:27 Dane Smith
2011-02-24 15:15 Dane Smith
2011-02-24 15:09 Dane Smith
2011-02-24 15:03 Dane Smith
2011-02-23 18:46 Dane Smith
2011-02-23 18:05 Dane Smith
2011-02-23 17:52 Dane Smith
2011-02-23 16:34 Dane Smith
2011-02-23 16:02 Dane Smith
2011-02-23 15:58 Dane Smith
2011-02-23 14:54 Dane Smith
2011-02-23 14:48 Dane Smith

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2d5c8e8dc3ab5e5afd486bdcd3bc53833849de36.c1pher@gentoo \
    --to=c1pher@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox