wok annotate libqtxdg/receipt @ rev 25502
Up memtest-efi* (6.01)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 15 09:58:15 2023 +0000 (22 months ago) |
parents | 82bd29a8ab7b |
children | 7364ffdaaa60 |
rev | line source |
---|---|
al@16833 | 1 # SliTaz package receipt. |
al@16833 | 2 |
al@16833 | 3 PACKAGE="libqtxdg" |
al@17219 | 4 VERSION="1.0.0" |
al@16833 | 5 CATEGORY="system-tools" |
al@16833 | 6 SHORT_DESC="Qt implementation of freedesktop.org XDG specs" |
al@16833 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@16833 | 8 LICENSE="LGPL2.1" |
al@16833 | 9 WEB_SITE="https://github.com/lxde/libqtxdg" |
al@16833 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@16833 | 11 WGET_URL="https://github.com/lxde/$PACKAGE/archive/$VERSION.tar.gz" |
al@16833 | 12 TAGS="LXQt" |
al@16833 | 13 |
al@17219 | 14 DEPENDS="libQtGui libQtXml libQtMimeTypes" |
al@17219 | 15 BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake libQtMimeTypes-dev" |
al@16833 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
al@16833 | 23 # Rules to configure and make the package. |
al@16833 | 24 compile_rules() |
al@16833 | 25 { |
al@16833 | 26 mkdir build; cd build |
al@16833 | 27 cmake -DCMAKE_INSTALL_PREFIX=/usr .. && |
al@16833 | 28 make && |
al@16833 | 29 make DESTDIR=$install install |
al@16833 | 30 } |
al@16833 | 31 |
al@16833 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@16833 | 33 genpkg_rules() |
al@16833 | 34 { |
al@16833 | 35 mkdir -p $fs/usr/lib |
al@16833 | 36 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@16833 | 37 } |