wok-current annotate attica/receipt @ rev 21779
linld: fix strdup (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 11 16:53:39 2019 +0200 (2019-07-11) |
parents | 76b72f1ad63c |
children | 7c0170dd3ecc |
rev | line source |
---|---|
pankso@5671 | 1 # SliTaz package receipt. |
pankso@5671 | 2 |
pankso@5671 | 3 PACKAGE="attica" |
pankso@15933 | 4 VERSION="0.4.2" |
pankso@5671 | 5 CATEGORY="system-tools" |
pankso@5671 | 6 SHORT_DESC="Qt library that implements the Open Collaboration Services API." |
pankso@5671 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
pankso@5671 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@5671 | 10 WEB_SITE="http://www.kde.org/" |
pankso@5671 | 11 WGET_URL="ftp://ftp.kde.org/pub/kde/stable/attica/$TARBALL" |
pankso@5671 | 12 |
pascal@14996 | 13 DEPENDS="libQtCore libQtNetwork" |
pascal@14996 | 14 BUILD_DEPENDS="cmake qmake Qt4-dev" |
pascal@14996 | 15 |
pankso@5671 | 16 # Rules to configure and make the package. |
pankso@5671 | 17 compile_rules() |
pankso@5671 | 18 { |
pankso@5671 | 19 cd $src |
pankso@5671 | 20 mkdir -p build && cd build |
pankso@5671 | 21 cmake \ |
pankso@5671 | 22 -DCMAKE_INSTALL_PREFIX=/usr \ |
pankso@5671 | 23 .. && |
pankso@5671 | 24 make && |
pascal@14996 | 25 make DESTDIR=$DESTDIR install |
pankso@5671 | 26 } |
pankso@5671 | 27 |
pankso@5671 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@5671 | 29 genpkg_rules() |
pankso@5671 | 30 { |
pankso@5671 | 31 mkdir -p $fs/usr/lib |
pascal@14996 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@5671 | 33 } |