New package: qhttpengine-1.0.1

This commit is contained in:
Rasmus Thomsen 2019-02-23 22:58:12 +01:00 committed by maxice8
parent 9497f5d079
commit 176ce20950
3 changed files with 34 additions and 0 deletions

View file

@ -3416,3 +3416,4 @@ libdvdcss.so.2 libdvdcss-1.4.2_1
libvalapanel.so.0 vala-panel-0.4.87_1
libappmenu-gtk2-parser.so.0 appmenu-gtk-module-0.7.1_1
libappmenu-gtk3-parser.so.0 appmenu-gtk3-module-0.7.1_1
libqhttpengine.so.1 qhttpengine-1.0.1_1

1
srcpkgs/qhttpengine-devel Symbolic link
View file

@ -0,0 +1 @@
qhttpengine

View file

@ -0,0 +1,32 @@
# Template file for 'qhttpengine'
pkgname=qhttpengine
version=1.0.1
revision=1
build_style=cmake
hostmakedepends="qt5-qmake"
makedepends="qt5-devel"
short_desc="HTTP server for Qt applications"
maintainer="Rasmus Thomsen <rasmus.thomsen@protonmail.com>"
license="MIT"
homepage="https://github.com/nitroshare/qhttpengine"
distfiles="https://github.com/nitroshare/qhttpengine/archive/${version}.tar.gz"
checksum=6505cf889909dc29bab4069116656e7ca5a9e879f04935139439c5691a76c55e
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools"
fi
post_install() {
vlicense LICENSE.txt
}
qhttpengine-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}