diff options
author | Francesco Colista <francesco.colista@gmail.com> | 2011-03-25 18:19:56 +0000 |
---|---|---|
committer | Francesco Colista <francesco.colista@gmail.com> | 2011-03-25 18:19:56 +0000 |
commit | c73a4e1a4d50a9ff1fb4fe3808ffa45e11dbdda6 (patch) | |
tree | 757a9482f91b80bc2551f1d794a052b8f901569e /testing/tut/APKBUILD | |
parent | 372b345f3b0740be075c4fa41c4bf31540132521 (diff) | |
parent | 2d2e02b94b10ee5b4c2afeb69667015f1fc9015f (diff) | |
download | aports-c73a4e1a4d50a9ff1fb4fe3808ffa45e11dbdda6.tar.bz2 aports-c73a4e1a4d50a9ff1fb4fe3808ffa45e11dbdda6.tar.xz |
Merge git://dev.alpinelinux.org/aports
Diffstat (limited to 'testing/tut/APKBUILD')
-rw-r--r-- | testing/tut/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/tut/APKBUILD b/testing/tut/APKBUILD new file mode 100644 index 0000000000..502a3ceadf --- /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-${_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" |