2020-07-18 09:35:40 +02:00
|
|
|
# Description: Elliptic curve based signing and verification tool
|
2021-12-13 11:51:28 +01:00
|
|
|
# URL: https://github.com/leahneukirchen/outils
|
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2016-06-12 16:46:29 +02:00
|
|
|
|
|
|
|
name=signify
|
2023-10-27 17:21:31 +02:00
|
|
|
version=0.13
|
2016-06-12 16:46:29 +02:00
|
|
|
release=1
|
2021-12-13 11:51:28 +01:00
|
|
|
source=(https://github.com/leahneukirchen/outils/archive/v$version/outils-$version.tar.gz
|
2023-08-21 21:49:13 +02:00
|
|
|
cruxify.patch)
|
2016-06-12 16:46:29 +02:00
|
|
|
|
|
|
|
build() {
|
2023-08-21 21:49:13 +02:00
|
|
|
cd outils-$version
|
2016-06-12 16:46:29 +02:00
|
|
|
|
2023-08-21 21:49:13 +02:00
|
|
|
patch -p0 -i $SRC/cruxify.patch
|
2016-06-12 16:46:29 +02:00
|
|
|
|
2023-08-21 21:49:13 +02:00
|
|
|
export CFLAGS+=' -DSIGNIFYROOT=\"/etc/ports\"'
|
|
|
|
make PREFIX=/usr src/usr.bin/signify/signify
|
2020-08-28 16:46:42 +02:00
|
|
|
|
2023-08-21 21:49:13 +02:00
|
|
|
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
|
2016-06-12 16:46:29 +02:00
|
|
|
}
|