wok-current view libsysstat/receipt @ rev 24141
linux: add r8188eu.ko
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 14 20:30:13 2021 +0000 (2021-11-14) |
parents | c0ce132ba4ee |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libsysstat"
4 VERSION="0.1.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Library used to query system info and statistics"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/lxde/libsysstat"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/lxde/$PACKAGE/archive/$VERSION.tar.gz"
12 TAGS="LXQt"
14 DEPENDS="libQtCore libQtGui"
15 BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 mkdir build; cd build
27 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
28 make &&
29 make DESTDIR=$install install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 }