diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2015-09-28 19:58:27 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2015-09-28 19:58:27 +0200 |
commit | a5e2ae36f65d554434785c34ec465f6049bffcfb (patch) | |
tree | 1a270bee1522014d0771e4f66cdddbf0f567b0f3 /testing/outils/APKBUILD | |
parent | 61e9156c1c994f84acad1eead6dcc57bad85b129 (diff) | |
download | aports-a5e2ae36f65d554434785c34ec465f6049bffcfb.tar.bz2 aports-a5e2ae36f65d554434785c34ec465f6049bffcfb.tar.xz |
testing/outils: new aport
Diffstat (limited to 'testing/outils/APKBUILD')
-rw-r--r-- | testing/outils/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/testing/outils/APKBUILD b/testing/outils/APKBUILD new file mode 100644 index 0000000000..9a60f6a01e --- /dev/null +++ b/testing/outils/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> +# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net> +pkgname=outils +pkgver=0.2 +pkgrel=0 +pkgdesc="Port of some non-standard OpenBSD tools to Linux" +url="https://github.com/chneukirchen/outils" +arch="all" +license="BSD ISC" +depends="mcpp" +depends_dev="" +makedepends="openssl-dev linux-headers" +install="" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/chneukirchen/$pkgname/archive/v$pkgver.tar.gz + include-sys-types.patch" + +_builddir="$srcdir"/$pkgname-$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() { + cd "$_builddir" + make CC="$CC" CFLAGS="$CFLAGS" || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="9b4be449ff568baedc3d3aac4dfaf6e0 outils-0.2.tar.gz +ff9943b103c7597b371435cc7323f775 include-sys-types.patch" +sha256sums="e37626abd95ada936250938f4142161f70dae8247257db946708d6a87e785ddc outils-0.2.tar.gz +ce2810972f5c30389f87f5c4f68b6a31cd45369e4deeb2b2e90df46b2b367320 include-sys-types.patch" +sha512sums="8a54a0c260c9a5a18f9ec0c0265d7b4195f64bb41845628fd4b4e1e066920ac7abc49372c817e9311c2ecc787c603d5d5d0905432c26f184b76a30bd82b0801e outils-0.2.tar.gz +1d6e0984038ffba618d8f08a002c5589da76e2872b9e434c4c470180f2d67f977ad803be734d30ea7eee57286d356da86ef959f90e75255697d42c957ecab9c7 include-sys-types.patch" |