wok annotate desktop-file-utils/receipt @ rev 24143
Add ventoy
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 16 17:16:48 2021 +0000 (2021-11-16) |
parents | c1575d842c72 |
children | 0b2572ccafa5 |
rev | line source |
---|---|
pankso@3150 | 1 # SliTaz package receipt. |
pankso@3150 | 2 |
pankso@3150 | 3 PACKAGE="desktop-file-utils" |
Hans-G?nter@22732 | 4 VERSION="0.24" |
al@19540 | 5 CATEGORY="system-tools" |
Hans-G?nter@22732 | 6 SHORT_DESC="Utilities for .desktop files (update-desktop-database)." |
pankso@3150 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
al@19540 | 9 WEB_SITE="https://www.freedesktop.org/wiki/Software/desktop-file-utils/" |
Hans-G?nter@22732 | 10 |
monghitri@13971 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19540 | 12 WGET_URL="https://www.freedesktop.org/software/desktop-file-utils/releases/$TARBALL" |
pankso@3150 | 13 |
al@19540 | 14 DEPENDS="glib glibc-base pcre" |
Hans-G?nter@22732 | 15 BUILD_DEPENDS="glib-dev pkg-config" |
Hans-G?nter@22732 | 16 |
al@19540 | 17 SPLIT="desktop-file-utils-extra" |
pascal@15000 | 18 |
pascal@24069 | 19 current_version() |
pascal@24069 | 20 { |
pascal@24069 | 21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24069 | 22 sed '/utils-/!d;s|.*utils-||;s|.tar.*||' | sed '$!d' |
pascal@24069 | 23 } |
pascal@24069 | 24 |
pankso@3150 | 25 # Rules to configure and make the package. |
pankso@3150 | 26 compile_rules() |
pankso@3150 | 27 { |
Hans-G?nter@22732 | 28 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@22732 | 29 make && |
Hans-G?nter@22732 | 30 make install |
pankso@3150 | 31 } |
pankso@3150 | 32 |
pankso@3150 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3150 | 34 genpkg_rules() |
pankso@3150 | 35 { |
al@19540 | 36 cook_copy_files update-desktop-database |
pankso@3150 | 37 } |