diff --git a/srcpkgs/cmatrix/patches/00-cross_compile.diff b/srcpkgs/cmatrix/patches/00-cross_compile.diff new file mode 100644 index 00000000000..def9a26ec63 --- /dev/null +++ b/srcpkgs/cmatrix/patches/00-cross_compile.diff @@ -0,0 +1,20 @@ +--- configure.old 2014-06-11 11:45:38.108575635 +0200 ++++ configure 2014-06-11 11:45:46.907574976 +0200 +@@ -1885,7 +1885,7 @@ echo "configure:1885: checking for $ac_f + if eval "test \"`echo '$''{'ac_cv_file_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +- if test "$cross_compiling" = yes; then ++ if test "$cross_compiling" = XXyes; then + { echo "configure: error: Cannot check for file existence when cross compiling" 1>&2; exit 1; } + else + if test -r $ac_file; then +@@ -1971,7 +1971,7 @@ echo "configure:1971: checking for $ac_f + if eval "test \"`echo '$''{'ac_cv_file_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +- if test "$cross_compiling" = yes; then ++ if test "$cross_compiling" = XXyes; then + { echo "configure: error: Cannot check for file existence when cross compiling" 1>&2; exit 1; } + else + if test -r $ac_file; then diff --git a/srcpkgs/cmatrix/template b/srcpkgs/cmatrix/template new file mode 100644 index 00000000000..aba986d3ddc --- /dev/null +++ b/srcpkgs/cmatrix/template @@ -0,0 +1,13 @@ +# Template file for 'zsync' +pkgname=cmatrix +version=1.2a +revision=1 +build_style=gnu-configure +short_desc="cmatrix simulates the display from The Matrix" +maintainer="Enno Boland " +makedepends="ncurses-devel" +hostmakedepends="kbd" +license="GPL-2" +homepage="http://www.asty.org/cmatrix" +distfiles="http://www.asty.org/$pkgname/dist/$pkgname-$version.tar.gz" +checksum=1fa6e6caea254b6fe70a492efddc1b40ad7ccb950a5adfd80df75b640577064c