wok annotate hicolor-icon-theme/receipt @ rev 25056

linux-wireless: add r8192ee.ko & rtl8821ae.ko
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 06 10:49:51 2022 +0000 (2022-06-06)
parents abb2032e8aeb
children
rev   line source
pankso@385 1 # SliTaz package receipt.
pankso@385 2
pankso@385 3 PACKAGE="hicolor-icon-theme"
Hans-G?nter@21035 4 VERSION="0.17"
pascal@745 5 CATEGORY="misc"
pankso@385 6 SHORT_DESC="Icon theme that all icon themes automatically inherit from."
pankso@385 7 MAINTAINER="pankso@slitaz.org"
pascal@15600 8 LICENSE="GPL2"
pascal@20673 9 WEB_SITE="https://www.freedesktop.org/wiki/Software/icon-theme/"
Hans-G?nter@21035 10
Hans-G?nter@21035 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
Hans-G?nter@21035 12 WGET_URL="https://icon-theme.freedesktop.org/releases/$TARBALL"
Hans-G?nter@21035 13
pankso@16247 14 HOST_ARCH="i486 arm"
pankso@385 15
pascal@24070 16 current_version()
pascal@24070 17 {
pascal@24070 18 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24070 19 sed "/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
pascal@24070 20 }
pascal@24070 21
pankso@385 22 # Rules to configure and make the package.
pankso@385 23 compile_rules()
pankso@385 24 {
pankso@16247 25 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@21035 26 make -j 1 &&
Hans-G?nter@21035 27 make DESTDIR=$DESTDIR install
pankso@385 28 }
pankso@385 29
pankso@385 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@385 31 genpkg_rules()
pankso@385 32 {
pankso@385 33 mkdir -p $fs/usr/share/icons/hicolor
Hans-G?nter@21035 34
Hans-G?nter@21035 35 cp $install/usr/share/icons/hicolor/index.theme \
Hans-G?nter@21035 36 $fs/usr/share/icons/hicolor
Hans-G?nter@21035 37 cp -a $install/usr/share/icons/hicolor/24x24 \
Hans-G?nter@21035 38 $fs/usr/share/icons/hicolor
Hans-G?nter@21035 39
psychomaniak@16930 40 sed -i 5i\ 'Inherits=SliTaz' $fs/usr/share/icons/hicolor/index.theme
pankso@385 41 }