wok-6.x annotate kqoauth/receipt @ rev 20169
Add linux-dev
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 16 11:15:42 2018 +0100 (2018-01-16) |
parents | 3f949ff702d6 |
children | 9820f9ae38d5 |
rev | line source |
---|---|
al@16321 | 1 # SliTaz package receipt. |
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@16321 | 7 SHORT_DESC="kQOAuth is a 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" |
pascal@16322 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@16322 | 12 WGET_URL="https://github.com/kypeli/kQOAuth/tarball/$GITHASH" |
al@16321 | 13 |
al@16321 | 14 DEPENDS="libQtGui libQtNetwork libssl" |
al@16321 | 15 BUILD_DEPENDS="qmake Qt4-dev openssl-dev wget" |
al@16321 | 16 |
al@16321 | 17 # Rules to configure and make the package. |
al@16321 | 18 compile_rules() |
al@16321 | 19 { |
al@16321 | 20 qmake && make && make INSTALL_ROOT=$install install |
al@16321 | 21 } |
al@16321 | 22 |
al@16321 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@16321 | 24 genpkg_rules() |
al@16321 | 25 { |
al@16321 | 26 mkdir -p $fs/usr/lib |
al@16321 | 27 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@16321 | 28 } |