wok-6.x view attica/receipt @ rev 25055

linux: disable Realtek RTL8723AU Wireless LAN NIC driver
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 06 09:43:10 2022 +0000 (2022-06-06)
parents 3c7caf706580
children 41a539cfe5f8
line source
1 # SliTaz package receipt.
3 PACKAGE="attica"
4 VERSION="0.4.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Qt library that implements the Open Collaboration Services API."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.kde.org/"
11 WGET_URL="ftp://ftp.kde.org/pub/kde/stable/attica/$TARBALL"
13 DEPENDS="libQtCore libQtNetwork"
14 BUILD_DEPENDS="cmake qmake Qt4-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - 'https://invent.kde.org/frameworks/attica/-/tags?sort=updated_desc' 2>/dev/null | \
20 sed '/item-title/!d;s|.*>v||;s|<.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 mkdir -p build && cd build
28 cmake \
29 -DCMAKE_INSTALL_PREFIX=/usr \
30 .. &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 }