debian/0000755000000000000000000000000012230030501007150 5ustar debian/control0000644000000000000000000000120612230025255010564 0ustar Source: erlang-cl Maintainer: Debian Erlang Packagers Uploaders: Sergei Golovan Section: libs Priority: optional Standards-Version: 3.9.4 Homepage: https://github.com/tonyrog/cl Build-Depends: debhelper (>= 9.0.0), erlang-dev, erlang-edoc, dh-rebar, ocl-icd-opencl-dev Package: erlang-cl Architecture: any Section: libs Priority: optional Depends: ${erlang:Depends}, ${misc:Depends}, ${shlibs:Depends} Description: Erlang OpenCL bindings CL is an application which provides OpenCL bindings to Erlang. It resembles C API from http://www.khronos.org/opencl as close as possible. debian/source/0000755000000000000000000000000012230030501010450 5ustar debian/source/format0000644000000000000000000000001412230025255011670 0ustar 3.0 (quilt) debian/examples0000644000000000000000000000001312230025255010715 0ustar examples/* debian/erlang-cl.install.in0000644000000000000000000000025012230025255013020 0ustar usr/lib/erlang/lib/@@E_PKG_NAME@@-@@PKG_VERSION@@/ebin usr/lib/erlang/lib/@@E_PKG_NAME@@-@@PKG_VERSION@@/priv usr/lib/erlang/lib/@@E_PKG_NAME@@-@@PKG_VERSION@@/include debian/rules0000755000000000000000000000130512230030322010230 0ustar #! /usr/bin/make -f %: dh $@ --buildsystem=rebar --with rebar override_dh_clean: dh_clean doc/*.html doc/*.css doc/erlang.png doc/edoc-info override_dh_gencontrol: erlang-depends dh_gencontrol override_dh_compress: dh_compress -X.erl -X.cl # remove useless files and fix html dir rm -f debian/erlang-cl/usr/share/doc/erlang-cl/doc/*.edoc rm -f debian/erlang-cl/usr/share/doc/erlang-cl/doc/.gitignore mv debian/erlang-cl/usr/share/doc/erlang-cl/doc \ debian/erlang-cl/usr/share/doc/erlang-cl/html get-orig-source: wget -O erlang-cl_1.2.1.orig.tar.gz https://github.com/tonyrog/cl/archive/cl-1.2.1.tar.gz .PHONY: override_dh_clean override_dh_gencontrol override_dh_compress get-orig-source debian/docs0000644000000000000000000000000412230025255010027 0ustar doc debian/dh-rebar.conf0000644000000000000000000000014012230025255011510 0ustar EXEC_REBAR_COMMANDS=compile,doc REBAR_LIB_DIR=priv REBAR_BIN_DIR=ebin REBAR_INCLUDE_DIR=include debian/copyright0000644000000000000000000000712312230025255011120 0ustar Format: Format: http://dep.debian.net/deps/dep5 Source: https://github.com/tonyrog/cl Files: * Copyright: 2007-2012 Rogvall Invest AB License: BSD Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. . Except as contained in this notice, the name(s) of the above copyright holders shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization. Files: examples/cc_subdiv.cl, examples/cc_subdiv.erl Copyright: 2010-2011 Dan Gudmundsson Comment: These examples are from wings3d software, so the license is taken from there. License: BSD The authors hereby grant permission to use, copy, modify, distribute, and license this software and its documentation for any purpose, provided that existing copyright notices are retained in all copies and that this notice is included verbatim in any distributions. No written agreement, license, or royalty fee is required for any of the authorized uses. Modifications to this software may be copyrighted by their authors and need not follow the licensing terms described here, provided that the new terms are clearly indicated on the first page of each file where they apply. . IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. . THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. . GOVERNMENT USE: If you are acquiring this software on behalf of the U.S. government, the Government shall have only "Restricted Rights" in the software and related documentation as defined in the Federal Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you are acquiring the software on behalf of the Department of Defense, the software shall be classified as "Commercial Computer Software" and the Government shall have only "Restricted Rights" as defined in Clause 252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, the authors grant the U.S. Government and others acting in its behalf permission to use and distribute the software in accordance with the terms specified in this license. debian/changelog0000644000000000000000000000023512230030053011024 0ustar erlang-cl (1.2.1-1) unstable; urgency=low * Initial release (closes: #726635). -- Sergei Golovan Thu, 17 Oct 2013 22:44:17 +0400 debian/patches/0000755000000000000000000000000012230030501010577 5ustar debian/patches/version.patch0000644000000000000000000000060012230025255013313 0ustar Author: Sergei Golovan Description: Patch replaces version atom git by the release vesion. Last-Modified: Thu, 17 Oct 2013 14:54:32 +0400 --- a/src/cl.app.src +++ b/src/cl.app.src @@ -1,6 +1,6 @@ {application, cl, [{description, "OpenCL binding for Erlang"}, - {vsn, git}, + {vsn, "1.2.1"}, {modules, [cl,cl10,cl11,cl12,clu]}, {env, []}, {applications,[kernel,stdlib]} debian/patches/series0000644000000000000000000000003312230025255012022 0ustar version.patch doclet.patch debian/patches/doclet.patch0000644000000000000000000000055112230025255013105 0ustar Author: Sergei Golovan Description: Patch makes edoc use the default (and available) edoc_doclet. Last-Modified: Thu, 17 Oct 2013 15:16:27 +0400 --- a/rebar.config +++ b/rebar.config @@ -20,4 +20,4 @@ {"priv/cl_nif.so", [ "c_src/cl_nif.c","c_src/cl_hash.c" ]} ]}. -{edoc_opts, [{doclet, edown_doclet}]}. +{edoc_opts, [{doclet, edoc_doclet}]}. debian/compat0000644000000000000000000000000212230025255010360 0ustar 9