aboutsummaryrefslogtreecommitdiffstats
path: root/community/ytnef/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-06-09 13:45:15 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-06-09 14:46:45 +0000
commitdc89789731c33eab60707c1a8d531fb8c4baaa78 (patch)
tree919f90606e151fa684fd008141d0858d36c9413c /community/ytnef/APKBUILD
parent4f38b9c7d40559a55f1fae4ddc286c1890e68b42 (diff)
downloadaports-dc89789731c33eab60707c1a8d531fb8c4baaa78.tar.bz2
aports-dc89789731c33eab60707c1a8d531fb8c4baaa78.tar.xz
community/ytnef: move from testing. needed by claws-mail
Diffstat (limited to 'community/ytnef/APKBUILD')
-rw-r--r--community/ytnef/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/community/ytnef/APKBUILD b/community/ytnef/APKBUILD
new file mode 100644
index 0000000000..696ac8ee6b
--- /dev/null
+++ b/community/ytnef/APKBUILD
@@ -0,0 +1,44 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=ytnef
+pkgver=1.9.2
+pkgrel=0
+pkgdesc="TNEF Stream Reader - for winmail.dat files"
+url="https://github.com/Yeraze/ytnef"
+arch="all"
+license="GPL+"
+depends=""
+makedepends="autoconf automake libtool file"
+install=""
+subpackages="$pkgname-dev $pkgname-libs"
+source="$pkgname-$pkgver.tar.gz::https://github.com/Yeraze/ytnef/archive/v$pkgver.tar.gz
+ ytnef-pkgconfig.patch
+ "
+builddir="$srcdir"/ytnef-$pkgver
+
+prepare() {
+ default_prepare
+ autoreconf -vif
+}
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --disable-static
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make install DESTDIR="$pkgdir" includedir=/usr/include/libytnef
+}
+
+sha512sums="125727a8afac959ac9c60fa977913da743b1ace05ea6af6cd75fff3a786ecf7cb54b49006c8c5249eb48d9aefe0ffcdc24af2944a8611f54a03eb4c24a78506e ytnef-1.9.2.tar.gz
+bf829bd56fff81f30ad32da4714677224b537cf38fb084afe73fd2d5723f73741e0423149832d9f61c0e368781040fd29e66f22c1c6c099d6d300f0649d6ba47 ytnef-pkgconfig.patch"