summaryrefslogtreecommitdiff
path: root/repo/rhash/rhash.xibuild
blob: 6c28601048d3c2aed05a61f4130e94b5ca45a0ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

MAKEDEPS="make openssl"
DEPS="musl"

PKG_VER=1.4.3
SOURCE=https://downloads.sourceforge.net/rhash/rhash-$PKG_VER-src.tar.gz
DESC="Utility for calculation and verification of hash sums and magnet links"

build () {
    ./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--enable-openssl \
		--disable-openssl-runtime

    make
}

package () {
    make DESTDIR=$PKG_DEST install
}