diff options
Diffstat (limited to 'community/libowfat')
-rw-r--r-- | community/libowfat/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/community/libowfat/APKBUILD b/community/libowfat/APKBUILD new file mode 100644 index 0000000000..e24489e728 --- /dev/null +++ b/community/libowfat/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net" +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=libowfat +pkgver=0.31 +pkgrel=0 +pkgdesc="Reimplementation of libdjbr" +url="http://www.fefe.de/libowfat/" +arch="all" +license="GPL" +depends="" +makedepends="" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="https://www.fefe.de/$pkgname/$pkgname-$pkgver.tar.xz" + +builddir="$srcdir"/$pkgname-$pkgver +build() { + cd "$builddir" + make CFLAGS="-I. ${CFLAGS}" || return 1 +} + +package() { + cd "$builddir" + make prefix="$pkgdir"/usr \ + MAN3DIR="$pkgdir"/usr/share/man/man3 \ + install || return 1 + + # buffer manpage conflicts with openssl + mv "$pkgdir"/usr/share/man/man3/buffer.3 \ + "$pkgdir"/usr/share/man/man3/owfatbuffer.3 +} + +md5sums="120798fab86cfd72dc6b12284d248dd0 libowfat-0.31.tar.xz" +sha256sums="d1e4ac1cfccbb7dc51d77d96398e6302d229ba7538158826c84cb4254c7e8a12 libowfat-0.31.tar.xz" +sha512sums="b3ce973d6edc501ddaa6caa84dc3b74e3e31ced92e4f707038858cd36c977863251a7eaeababdad34ffe6b8ad13c9702118464f6f9fd827e05f6fbc5004408b5 libowfat-0.31.tar.xz" |