blob: 0b07ecc53891f234a885c9fafcea957b584bc1db (
plain)
1 # Description: Elliptic curve based signing and verification tool
2 # URL: https://github.com/leahneukirchen/outils
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4
5 name=signify
6 version=0.12
7 release=1
8 source=(https://github.com/leahneukirchen/outils/archive/v$version/outils-$version.tar.gz
9 cruxify.patch)
10
11 build() {
12 cd outils-$version
13
14 patch -p0 -i $SRC/cruxify.patch
15
16 export CFLAGS+=' -DSIGNIFYROOT=\"/etc/ports\"'
17 make PREFIX=/usr src/usr.bin/signify/signify
18
19 install -d $PKG/usr/{bin,share/man/man1}
20 install -m 0755 src/usr.bin/signify/signify $PKG/usr/bin
21 install -m 0644 src/usr.bin/signify/signify.1 $PKG/usr/share/man/man1
22 }
|