wok-next annotate attica/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | c3a368c0cddb |
children |
rev | line source |
---|---|
al@20456 | 1 # SliTaz package receipt v2. |
pankso@5671 | 2 |
pankso@5671 | 3 PACKAGE="attica" |
pankso@15933 | 4 VERSION="0.4.2" |
pankso@5671 | 5 CATEGORY="system-tools" |
al@20456 | 6 SHORT_DESC="Qt library that implements the Open Collaboration Services API" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
al@21020 | 9 WEB_SITE="https://www.kde.org/" |
al@20456 | 10 |
pankso@5671 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@5671 | 12 WGET_URL="ftp://ftp.kde.org/pub/kde/stable/attica/$TARBALL" |
pankso@5671 | 13 |
pascal@14996 | 14 BUILD_DEPENDS="cmake qmake Qt4-dev" |
al@21020 | 15 SPLIT="$PACKAGE-dev" |
pascal@14996 | 16 |
al@20456 | 17 compile_rules() { |
al@21020 | 18 mkdir build |
al@21020 | 19 cd build |
pankso@5671 | 20 cmake \ |
pankso@5671 | 21 -DCMAKE_INSTALL_PREFIX=/usr \ |
pankso@5671 | 22 .. && |
pankso@5671 | 23 make && |
al@21020 | 24 make DESTDIR=$install install |
pankso@5671 | 25 } |
pankso@5671 | 26 |
al@20456 | 27 genpkg_rules() { |
al@20456 | 28 case $PACKAGE in |
al@20456 | 29 attica) |
al@20456 | 30 copy @std |
al@20456 | 31 DEPENDS="libQtCore libQtNetwork" |
al@20456 | 32 ;; |
al@20456 | 33 *-dev) |
al@20456 | 34 copy @dev |
al@20456 | 35 ;; |
al@20456 | 36 esac |
pankso@5671 | 37 } |