aboutsummaryrefslogtreecommitdiffstats
path: root/main/hylafax
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-12-21 21:02:47 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-03-03 13:03:40 +0000
commite3e37942b037572cea0f5741146f3c4eb896fe91 (patch)
tree5920339d8791631d562e4d294d688537a70b31bf /main/hylafax
parent790a7bb31f90718dc1e1a71661fd0864b74083a4 (diff)
downloadaports-e3e37942b037572cea0f5741146f3c4eb896fe91.tar.bz2
aports-e3e37942b037572cea0f5741146f3c4eb896fe91.tar.xz
main/hylafax: specify license
Diffstat (limited to 'main/hylafax')
-rw-r--r--main/hylafax/APKBUILD18
1 files changed, 7 insertions, 11 deletions
diff --git a/main/hylafax/APKBUILD b/main/hylafax/APKBUILD
index c66e788d0a..d81166a900 100644
--- a/main/hylafax/APKBUILD
+++ b/main/hylafax/APKBUILD
@@ -2,28 +2,25 @@
# Maintainer: Cameron Banta <cbanta@gmail.com>
pkgname=hylafax
pkgver=6.0.6
-pkgrel=0
+pkgrel=1
pkgdesc="Sends and receives faxes"
url="http://www.hylafax.org/"
arch="all"
-license="custom"
+license="MIT"
#depends on gcc for libgcc_s.so, it's scripts are hardcoded to bash
depends="ghostscript bash tiff-tools"
makedepends="zlib-dev tiff-dev"
install="hylafax.post-install"
subpackages="$pkgname-doc"
-source="ftp://ftp.hylafax.org/source/$pkgname-$pkgver.tar.gz
- "
+source="ftp://ftp.hylafax.org/source/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
-
prepare() {
cd "$_builddir"
}
build() {
- cd "$_builddir"
-
+ cd "$_builddir"
# the configure script does not handle ccache or distcc
export CC=gcc
export CXX=g++
@@ -51,8 +48,7 @@ build() {
}
package(){
- cd "$_builddir"
-
+ cd "$_builddir"
# this makefile has issues installing, it doesn't use the standard
# install - but the following seems to work
mkdir -p "${pkgdir}"/usr/bin "${pkgdir}"/usr/sbin
@@ -75,15 +71,15 @@ package(){
HTMLDIR="${pkgdir}/usr/share/doc/$pkgname/html" \
install || return 1
-
install -m644 -D "$srcdir/$pkgname-$pkgver/COPYRIGHT" \
"$pkgdir"/usr/share/licenses/$pkgname/COPYRIGHT
install -m644 -D "$srcdir/$pkgname-$pkgver/README" \
"$pkgdir"/usr/share/doc/$pkgname/README
-
# init.d script is created by faxsetup
# - which the user runs after install
}
md5sums="d063d45049c8fcbabefe09d662313067 hylafax-6.0.6.tar.gz"
+sha256sums="28926915b23ce7f5b4896de8ac5f58389c2c6e6bb73b4eee5bbd5129603bf7c0 hylafax-6.0.6.tar.gz"
+sha512sums="be7e0533a24391c87deac6af35e01c81a79c99977c7f7a931e336d7c737b388d2a7c147faab3bf5eda196b1fa1c8671bee53c05dab2338f2f519010532f7d773 hylafax-6.0.6.tar.gz"