summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-util/ati-stream-sdk/Manifest2
-rw-r--r--dev-util/ati-stream-sdk/files/Makefile14
2 files changed, 15 insertions, 1 deletions
diff --git a/dev-util/ati-stream-sdk/Manifest b/dev-util/ati-stream-sdk/Manifest
index dc05f00..0c34fce 100644
--- a/dev-util/ati-stream-sdk/Manifest
+++ b/dev-util/ati-stream-sdk/Manifest
@@ -1,4 +1,4 @@
-AUX Makefile 1702 RMD160 7e00d6e87f13632a35c7c0b497ca5dc8d9727071 SHA1 06953c67d2d3d824bb77b7d5e9cc9ba72764b093 SHA256 24bb9a328d01746fc0f67774b6ebb792754618a78c0090fc7b414d91c290d107
+AUX Makefile 2206 RMD160 75f1ebb649aa8111e750c75b03452c7df9ffae5d SHA1 0644e3c66b2801e4cfe0663a4a81aa148d7360e8 SHA256 70ff4dbcbcd759babce9a1eb9fa355c7797116753e8f356eaaef1cea3469bf44
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
diff --git a/dev-util/ati-stream-sdk/files/Makefile b/dev-util/ati-stream-sdk/files/Makefile
index dc0172f..1052039 100644
--- a/dev-util/ati-stream-sdk/files/Makefile
+++ b/dev-util/ati-stream-sdk/files/Makefile
@@ -3,6 +3,7 @@ PREFIX=$(DESTDIR)/opt/ati-stream-sdk/
LIBDIR=$(PREFIX)lib/
BINDIR=$(PREFIX)bin/
INCDIR=$(PREFIX)include/
+ETCDIR=$(DESTDIR)etc/
INSTALLBIN=install
INSTALLDAT=install -m0644
@@ -13,6 +14,7 @@ ARCH:=x86
BINFILES=bin/x86$(DSUFX)/clc
LIBFILES=lib/x86$(DSUFX)/libOpenCL.so lib/x86$(DSUFX)/libatiocl$(SUFX).so lib/x86$(DSUFX)/libGLEW.so lib/gpu/builtins-7xx.bc lib/gpu/builtins-evergreen.bc lib/gpu/builtins-gpucommon.bc lib/x86$(DSUFX)/builtins-x86$(DSUFX).bc
INCFILES=include/cal*.h include/CL/* include/GL/* include/OVDecode/*
+ETCFILES=etc/OpenCL/vendors/atiocl$(SUFX).icd
ifeq ($(ARCH),amd64)
DSUFX=_64
@@ -26,6 +28,18 @@ install:
test -z "$(BINDIR)" || $(MKDIR) "$(BINDIR)"
test -z "$(LIBDIR)" || $(MKDIR) "$(LIBDIR)"
test -z "$(INCDIR)" || $(MKDIR) "$(INCDIR)"
+ test -z "$(ETCDIR)" || $(MKDIR) "$(ETCDIR)"
+ tar -xzf icd-registration.tgz || exit 1
+ @list='$(ETCFILES)'; for f in $$list; do\
+ if test -f $$f; then\
+ 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;\
+ else :; fi;\
+ done
@list='$(BINFILES)'; for f in $$list; do\
if test -f $$f; then\
f1=`basename $$f`;\