void-packages/srcpkgs/linssid/template

26 lines
868 B
Bash
Raw Normal View History

# Template file for 'linssid'
pkgname=linssid
version=3.6
revision=1
build_style=qmake
hostmakedepends="qt5-qmake qt5-host-tools"
makedepends="boost-devel qwt-devel"
depends="qt5-svg"
short_desc="Graphical wireless AP scanner"
maintainer="Piraty <piraty1@inbox.ru>"
license="GPL-3.0-only"
homepage="https://sourceforge.net/projects/linssid/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
checksum=57301ee93f708f2512316668bf4e718502f37f21a5e93b68fc604a9032e3e49c
CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/include/qt5/QtCore"
CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/qt5/QtWidgets"
CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/qt5/QtGui"
pre_configure() {
sed -e "s|QMAKE_CC =.*|QMAKE_CC = $CC|" \
-e "s|QMAKE_CXX =.*|QMAKE_CXX = $CXX|" \
-e "s|INCLUDEPATH += |INCLUDEPATH += ${XBPS_CROSS_BASE}|g" \
-i linssid-app/linssid-app.pro
}