wok-next annotate kqoauth/receipt @ rev 21056
zim: fix build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Dec 03 11:57:12 2018 +0200 (2018-12-03) |
parents | d43bf7aae921 |
children |
rev | line source |
---|---|
al@20456 | 1 # SliTaz package receipt v2. |
al@16321 | 2 |
al@16321 | 3 PACKAGE="kqoauth" |
pascal@16322 | 4 GITHASH="7c31a120f86f3351a9eb0bafd321f2a977b3e0a5" |
pascal@16322 | 5 VERSION=${GITHASH:0:7} |
al@16321 | 6 CATEGORY="development" |
al@21020 | 7 SHORT_DESC="OAuth 1.0 library written for Qt in C++" |
al@16321 | 8 MAINTAINER="al.bobylev@gmail.com" |
al@16321 | 9 LICENSE="LGPL2.1" |
al@16321 | 10 WEB_SITE="https://github.com/kypeli/kQOAuth" |
al@20456 | 11 |
pascal@16322 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@16322 | 13 WGET_URL="https://github.com/kypeli/kQOAuth/tarball/$GITHASH" |
al@16321 | 14 |
al@20513 | 15 BUILD_DEPENDS="qmake Qt4-dev openssl-dev" |
al@21020 | 16 SPLIT="$PACKAGE-dev" |
al@16321 | 17 |
al@20456 | 18 compile_rules() { |
al@21020 | 19 qmake && |
al@21020 | 20 make && |
al@21020 | 21 make INSTALL_ROOT=$install install |
al@16321 | 22 } |
al@16321 | 23 |
al@20456 | 24 genpkg_rules() { |
al@20456 | 25 case $PACKAGE in |
al@20456 | 26 kqoauth) |
al@20456 | 27 copy @std |
al@20456 | 28 DEPENDS="libQtGui libQtNetwork openssl" |
al@20456 | 29 ;; |
al@20456 | 30 *-dev) |
al@20456 | 31 copy @dev |
al@20456 | 32 ;; |
al@20456 | 33 esac |
al@16321 | 34 } |