diff options
Diffstat (limited to 'unmaintained/tut/APKBUILD')
-rw-r--r-- | unmaintained/tut/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/unmaintained/tut/APKBUILD b/unmaintained/tut/APKBUILD new file mode 100644 index 0000000000..502a3ceadf --- /dev/null +++ b/unmaintained/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-${_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" |