wok-current annotate libdbusmenu-qt/receipt @ rev 24996
updated nim (0.19.6 -> 1.6.6)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 16 10:46:30 2022 +0100 (2022-05-16) |
parents | f62a091ed37c |
children |
rev | line source |
---|---|
pankso@10657 | 1 # SliTaz package receipt. |
pankso@10657 | 2 |
pankso@10657 | 3 PACKAGE="libdbusmenu-qt" |
pankso@15934 | 4 VERSION="0.9.2" |
pankso@10657 | 5 CATEGORY="system-tools" |
pankso@10657 | 6 SHORT_DESC="Library to import and export QMenu instances using the DBusMenu." |
pankso@10657 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15004 | 8 LICENSE="LGPL2" |
pankso@10657 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@10657 | 10 WEB_SITE="https://launchpad.net/libdbusmenu-qt" |
pascal@13995 | 11 WGET_URL="$WEB_SITE/trunk/$VERSION/+download/$TARBALL" |
pankso@10657 | 12 |
pankso@10657 | 13 DEPENDS="dbus" |
monghitri@13997 | 14 BUILD_DEPENDS="cmake qmake Qt4-dev libQtCore libQtDBus libQtGui dbus-dev wget" |
pankso@10657 | 15 |
pascal@24433 | 16 # What is the latest version available today? |
pascal@24433 | 17 current_version() |
pascal@24433 | 18 { |
pascal@24433 | 19 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24433 | 20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" |
pascal@24433 | 21 } |
pascal@24433 | 22 |
pankso@10657 | 23 # Rules to configure and make the package. |
pankso@10657 | 24 compile_rules() |
pankso@10657 | 25 { |
pankso@10657 | 26 mkdir -p $src/build |
pankso@10657 | 27 cd $src/build |
pankso@10657 | 28 cmake \ |
pankso@10657 | 29 -DCMAKE_BUILD_TYPE=Release \ |
pankso@15934 | 30 -DCMAKE_INSTALL_PREFIX=/usr \ |
pankso@15934 | 31 -DWITH_DOC=OFF .. && |
pankso@10657 | 32 make && make install |
pankso@10657 | 33 } |
pankso@10657 | 34 |
pankso@10657 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10657 | 36 genpkg_rules() |
pankso@10657 | 37 { |
pankso@10657 | 38 mkdir -p $fs/usr/lib |
pascal@13995 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@10657 | 40 } |