qoauth: change to build_style=qmake
This commit is contained in:
parent
89afe90961
commit
8106c88ff1
|
@ -1,7 +1,8 @@
|
||||||
# Template file for 'qoauth'
|
# Template file for 'qoauth'
|
||||||
pkgname=qoauth
|
pkgname=qoauth
|
||||||
version=1.0.1
|
version=1.0.1
|
||||||
revision=2
|
revision=3
|
||||||
|
build_style=qmake
|
||||||
wrksrc="${pkgname}-${version}-src"
|
wrksrc="${pkgname}-${version}-src"
|
||||||
makedepends="qt-devel qca-devel"
|
makedepends="qt-devel qca-devel"
|
||||||
short_desc="Support with OAuth-powered network services"
|
short_desc="Support with OAuth-powered network services"
|
||||||
|
@ -10,15 +11,11 @@ license="GPL-2.1"
|
||||||
homepage="http://github.com/ayoy/qoauth"
|
homepage="http://github.com/ayoy/qoauth"
|
||||||
distfiles="http://files.ayoy.net/qoauth/release/current/src/${pkgname}-${version}-src.tar.bz2"
|
distfiles="http://files.ayoy.net/qoauth/release/current/src/${pkgname}-${version}-src.tar.bz2"
|
||||||
checksum=b8579a77cecb07928e557c4a019db902a0f040b22f7926f147299e87ac5a54fd
|
checksum=b8579a77cecb07928e557c4a019db902a0f040b22f7926f147299e87ac5a54fd
|
||||||
|
CXXFLAGS+="-I/usr/include/QtCrypto"
|
||||||
|
LDFLAGS+="-lqca"
|
||||||
|
|
||||||
do_build() {
|
pre_configure() {
|
||||||
sed -i 's|lib64|lib|' src/src.pro
|
sed -i 's|lib64|lib|' src/src.pro
|
||||||
qmake
|
|
||||||
make ${makejobs}
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
make INSTALL_ROOT=${DESTDIR} install
|
|
||||||
}
|
}
|
||||||
|
|
||||||
qoauth-devel_package() {
|
qoauth-devel_package() {
|
||||||
|
|
Loading…
Reference in New Issue