aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-03-25 02:49:35 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2011-03-25 02:49:35 -0500
commit8cc714ed993599938d1f1a8543fccb29d2a91b7c (patch)
tree61e12f9ef97f2bcf7cd31af53b2ea343393bd57b
parent23d69831b50de72ef7eb33718ad80205400420ed (diff)
downloadaports-8cc714ed993599938d1f1a8543fccb29d2a91b7c.tar.bz2
aports-8cc714ed993599938d1f1a8543fccb29d2a91b7c.tar.xz
testing/tut: new aport
-rw-r--r--testing/tut/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/tut/APKBUILD b/testing/tut/APKBUILD
new file mode 100644
index 0000000000..fb89f38452
--- /dev/null
+++ b/testing/tut/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer:
+pkgname=tut
+pkgver=20090830
+_pkgver=2009-08-30
+pkgrel=0
+pkgdesc="template unit test framework"
+url="http://tut-framework.sourceforge.net/"
+arch="noarch"
+license="BSD"
+depends=
+depends_dev=
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-dev"
+source="http://sourceforge.net/projects/tut-framework/files/TUT/TUT-2009-08-$pkgver/TUT-${_pkgver}.tar.gz"
+
+_builddir="$srcdir"/tut-${_pkgver}
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ return 0
+}
+
+package() {
+ cd "$_builddir"
+ mkdir -p "$pkgdir"/usr/include
+ cp -R "$_builddir"/tut/ "$pkgdir"/usr/include/tut/
+ cp "$_builddir"/*.h "$pkgdir"/usr/include
+}
+
+md5sums="2f32ef60724aefd1a655d766e4662005 TUT-2009-08-30.tar.gz"