summaryrefslogtreecommitdiff
path: root/user/readstat
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2022-06-12 17:14:28 -0500
committerZach van Rijn <me@zv.io>2022-10-21 18:34:01 -0500
commit58f1e8d25cfb3b277cf21f936c66d3f16a23f0ef (patch)
tree5fe298b24ef7ecbd42d41bfc8e31eef9740ff3ce /user/readstat
parent6bf730941205e61bf6d7ff9d4fe4bc5594e67a11 (diff)
downloadpackages-58f1e8d25cfb3b277cf21f936c66d3f16a23f0ef.tar.gz
packages-58f1e8d25cfb3b277cf21f936c66d3f16a23f0ef.tar.bz2
packages-58f1e8d25cfb3b277cf21f936c66d3f16a23f0ef.tar.xz
packages-58f1e8d25cfb3b277cf21f936c66d3f16a23f0ef.zip
user/readstat: New package
Diffstat (limited to 'user/readstat')
-rw-r--r--user/readstat/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/user/readstat/APKBUILD b/user/readstat/APKBUILD
new file mode 100644
index 000000000..bb9926267
--- /dev/null
+++ b/user/readstat/APKBUILD
@@ -0,0 +1,38 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=readstat
+pkgver=1.1.8
+pkgrel=0
+pkgdesc="Command-line tool for converting stats package files"
+url=" "
+arch="all"
+license="MIT"
+depends=""
+makedepends="zlib-dev"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
+source="https://github.com/WizardMac/ReadStat/releases/download/v$pkgver/readstat-$pkgver.tar.gz"
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+libs() {
+ pkgdesc="C library for converting stats package files"
+ default_libs
+}
+
+sha512sums="0b6278c2f1acae2cb6c509dbf730b121e1d8cd6e53736f060c0b79ba5fbcf56e1c4ac39568d21e90f537a0bae0341d702421eb768d384f8891f6486b7c6c2f1f readstat-1.1.8.tar.gz"