diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-09-03 12:45:48 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-09-03 12:45:48 +0200 |
commit | d832869b3d700f1e12b17543eba0272ef4b0265e (patch) | |
tree | fe47376a5ccca4678cc99134fc48022cbe52ca19 /testing | |
parent | b39b8ca5ddc30c45329c8fd4ba32b3b822c08460 (diff) | |
download | aports-d832869b3d700f1e12b17543eba0272ef4b0265e.tar.bz2 aports-d832869b3d700f1e12b17543eba0272ef4b0265e.tar.xz |
community/outils: move from testing
Diffstat (limited to 'testing')
-rw-r--r-- | testing/outils/APKBUILD | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/testing/outils/APKBUILD b/testing/outils/APKBUILD deleted file mode 100644 index 0bafb191cc..0000000000 --- a/testing/outils/APKBUILD +++ /dev/null @@ -1,76 +0,0 @@ -# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> -# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net> -pkgname=outils -pkgver=0.5 -pkgrel=0 -pkgdesc="Port of some non-standard OpenBSD tools to Linux" -url="https://github.com/chneukirchen/outils" -arch="all" -license="BSD ISC" -depends="" -depends_dev="" -makedepends="openssl-dev linux-headers" -install="" -subpackages="$pkgname-doc - $pkgname-sha256:_tool - $pkgname-lndir:_tool - $pkgname-rdate:_tool - $pkgname-calendar:_tool - $pkgname-lam:_tool - $pkgname-what:_tool - $pkgname-rs:_tool - $pkgname-unvis:_tool - $pkgname-gzsig:_tool - $pkgname-md5:_tool - $pkgname-sha1:_tool - $pkgname-apply:_tool - $pkgname-sha512:_tool - $pkgname-vis:_tool - $pkgname-signify:_tool - $pkgname-jot:_tool - $pkgname-cksum:_tool" -source="$pkgname-$pkgver.tar.gz::https://github.com/chneukirchen/$pkgname/archive/v$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - find "$_builddir"/src -type f -exec sed -i \{\} -e "s;u_int;uint;g" \ - -e "s;u_char;uint8_t;g" \; || return 1 - sed -i "$_builddir"/src/liboutils/sha1.c \ - -e "s;uint i;uint32_t i;" || return 1 -} - -build() { - make CC="$CC" CFLAGS="$CFLAGS" \ - -C "$_builddir" || return 1 -} - -package() { - make DESTDIR="$pkgdir" install \ - -C "$_builddir" || return 1 -} - -_tool() { - local name=$(echo $subpkgname | cut -d '-' -f2) - pkgdesc="$name tool from $pkgname" - - if [ "$name" = "cksum" ]; then - depends="!coreutils $depends" - fi - - if [ "$name" = "rdate" ]; then - mkdir -p "$subpkgdir"/usr/sbin - mv "$pkgdir"/usr/bin/$name \ - "$subpkgdir"/usr/sbin/$name || return 1 - else - mkdir -p "$subpkgdir"/usr/bin - mv "$pkgdir"/usr/bin/$name \ - "$subpkgdir"/usr/bin/$name || return 1 - fi - - rmdir "$pkgdir"/usr/bin/ 2>/dev/null || true - rmdir "$pkgdir"/usr/ 2>/dev/null || true -} - -md5sums="f20ff35fcfa180a8911603ea27e91b6b outils-0.5.tar.gz" -sha256sums="5559425d3957092ca06fcc178c5319bfa2688ffb7fba5067a96c79c354136838 outils-0.5.tar.gz" -sha512sums="b43296644383a953f144907a06af5ead19a4986f30d490e5b3d609b081d86446459029059051f7810f3700b4144221110a4ba9fa872f5a3caff2ec6993e0292b outils-0.5.tar.gz" |