23 lines
649 B
Plaintext
23 lines
649 B
Plaintext
# Description: Elliptic curve based signing and verification tool
|
|
# URL: https://github.com/leahneukirchen/outils
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
|
|
name=signify
|
|
version=0.12
|
|
release=1
|
|
source=(https://github.com/leahneukirchen/outils/archive/v$version/outils-$version.tar.gz
|
|
cruxify.patch)
|
|
|
|
build() {
|
|
cd outils-$version
|
|
|
|
patch -p0 -i $SRC/cruxify.patch
|
|
|
|
export CFLAGS+=' -DSIGNIFYROOT=\"/etc/ports\"'
|
|
make PREFIX=/usr src/usr.bin/signify/signify
|
|
|
|
install -d $PKG/usr/{bin,share/man/man1}
|
|
install -m 0755 src/usr.bin/signify/signify $PKG/usr/bin
|
|
install -m 0644 src/usr.bin/signify/signify.1 $PKG/usr/share/man/man1
|
|
}
|