parent
d34b5212c5
commit
88e0f567b1
3 changed files with 56 additions and 0 deletions
37
srcpkgs/kore/patches/makefile.patch
Normal file
37
srcpkgs/kore/patches/makefile.patch
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
--- Makefile 2018-12-01 10:49:16.048504860 +0100
|
||||||
|
+++ Makefile 2018-12-01 10:50:04.173829007 +0100
|
||||||
|
@@ -6,10 +6,10 @@
|
||||||
|
KORE=kore
|
||||||
|
KODEV=kodev/kodev
|
||||||
|
KORE_CRYPTO?=crypto
|
||||||
|
-INSTALL_DIR=$(PREFIX)/bin
|
||||||
|
-MAN_DIR=$(PREFIX)/share/man
|
||||||
|
-SHARE_DIR=$(PREFIX)/share/kore
|
||||||
|
-INCLUDE_DIR=$(PREFIX)/include/kore
|
||||||
|
+INSTALL_DIR=$(DESTDIR)/$(PREFIX)/bin
|
||||||
|
+MAN_DIR=$(DESTDIR)/$(PREFIX)/share/man
|
||||||
|
+SHARE_DIR=$(DESTDIR)/$(PREFIX)/share/kore
|
||||||
|
+INCLUDE_DIR=$(DESTDIR)/$(PREFIX)/include/kore
|
||||||
|
|
||||||
|
VERSION=src/version.c
|
||||||
|
|
||||||
|
@@ -21,7 +21,7 @@
|
||||||
|
FEATURES=
|
||||||
|
FEATURES_INC=
|
||||||
|
|
||||||
|
-CFLAGS+=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes
|
||||||
|
+CFLAGS::=$(CFLAGS) -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes
|
||||||
|
CFLAGS+=-Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual
|
||||||
|
CFLAGS+=-Wsign-compare -Iinclude/kore -std=c99 -pedantic
|
||||||
|
CFLAGS+=-DPREFIX='"$(PREFIX)"' -fstack-protector-all
|
||||||
|
--- kodev/Makefile.orig 2018-12-01 10:53:51.779628063 +0100
|
||||||
|
+++ kodev/Makefile 2018-12-01 10:54:18.675249411 +0100
|
||||||
|
@@ -4,7 +4,7 @@
|
||||||
|
PREFIX?=/usr/local
|
||||||
|
OBJDIR?=obj
|
||||||
|
KODEV=kodev
|
||||||
|
-INSTALL_DIR=$(PREFIX)/bin
|
||||||
|
+INSTALL_DIR=$(DESTDIR)/$(PREFIX)/bin
|
||||||
|
|
||||||
|
S_SRC= ../src/cli.c
|
||||||
|
|
18
srcpkgs/kore/template
Normal file
18
srcpkgs/kore/template
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
# Template file for 'kore'
|
||||||
|
pkgname=kore
|
||||||
|
version=3.2.0
|
||||||
|
revision=1
|
||||||
|
build_style=gnu-makefile
|
||||||
|
make_use_env=yes
|
||||||
|
make_build_args="PREFIX=/usr"
|
||||||
|
makedepends="libressl-devel"
|
||||||
|
short_desc="Easy to use web platform for writing scalable web APIs in C"
|
||||||
|
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
|
||||||
|
license="ISC"
|
||||||
|
homepage="https://kore.io"
|
||||||
|
distfiles="https://kore.io/releases/kore-${version}.tar.gz"
|
||||||
|
checksum=24b7a0e0d7f07e1f5a60984feedd37c1aa19a9a5e2c97cccce061b689f8345f8
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
1
srcpkgs/kore/update
Normal file
1
srcpkgs/kore/update
Normal file
|
@ -0,0 +1 @@
|
||||||
|
pattern='(?<=release: )([0-9]\.[0-9]\.[0-9])'
|
Loading…
Add table
Reference in a new issue