summaryrefslogtreecommitdiff
path: root/repo/util/rhash/rhash.xibuild
blob: a35a8206ef68b30f48ad82fc8d9822788b2e8ee9 (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.2
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
}