wok-6.x view libdbusmenu-qt/receipt @ rev 25391
updated usb-modeswitch-data (20170806 -> 20191128)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Aug 01 15:21:41 2022 +0100 (2022-08-01) |
parents | f62a091ed37c |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libdbusmenu-qt"
4 VERSION="0.9.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Library to import and export QMenu instances using the DBusMenu."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://launchpad.net/libdbusmenu-qt"
11 WGET_URL="$WEB_SITE/trunk/$VERSION/+download/$TARBALL"
13 DEPENDS="dbus"
14 BUILD_DEPENDS="cmake qmake Qt4-dev libQtCore libQtDBus libQtGui dbus-dev wget"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||"
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 mkdir -p $src/build
27 cd $src/build
28 cmake \
29 -DCMAKE_BUILD_TYPE=Release \
30 -DCMAKE_INSTALL_PREFIX=/usr \
31 -DWITH_DOC=OFF .. &&
32 make && make 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 }