wok-current annotate plymouth/receipt @ rev 25147
updated powertop (2.11 -> 2.14)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 15:35:33 2022 +0100 (2022-06-29) |
parents | bc373060e0a6 |
children |
rev | line source |
---|---|
pascal@12973 | 1 # SliTaz package receipt. |
pascal@12973 | 2 |
pascal@12973 | 3 PACKAGE="plymouth" |
Hans-G?nter@25144 | 4 VERSION="0.9.5" |
pascal@12973 | 5 CATEGORY="base-system" |
pascal@12973 | 6 SHORT_DESC="A graphical boot splash screen with KMS support." |
pascal@12973 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
Hans-G?nter@23435 | 9 WEB_SITE="https://www.freedesktop.org/wiki/Software/Plymouth/" |
pascal@12973 | 10 |
Hans-G?nter@23435 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
Hans-G?nter@25144 | 12 WGET_URL="https://www.freedesktop.org/software/$PACKAGE/releases/$TARBALL" |
Hans-G?nter@23435 | 13 |
Hans-G?nter@25144 | 14 DEPENDS="gtk+3 libdrm libpng libxml2 pango xorg-libpciaccess" |
Hans-G?nter@25144 | 15 BUILD_DEPENDS="gtk+3-dev libdrm-dev libpng-dev libxml2-dev pango-dev |
Hans-G?nter@25144 | 16 xorg-libpciaccess-dev" |
pascal@12973 | 17 |
pascal@24453 | 18 # What is the latest version available today? |
pascal@24453 | 19 current_version() |
pascal@24453 | 20 { |
pascal@24453 | 21 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ |
pascal@24453 | 22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24453 | 23 } |
pascal@24453 | 24 |
pascal@12973 | 25 # Rules to configure and make the package. |
pascal@12973 | 26 compile_rules() |
pascal@12973 | 27 { |
Hans-G?nter@23435 | 28 ./configure \ |
Hans-G?nter@23435 | 29 --sysconfdir=/etc \ |
Hans-G?nter@23435 | 30 --localstatedir=/var \ |
Hans-G?nter@23435 | 31 --libexecdir=/usr/lib \ |
Hans-G?nter@23435 | 32 --with-system-root-install \ |
Hans-G?nter@23435 | 33 --with-release-file=/etc/slitaz-release \ |
Hans-G?nter@23436 | 34 --without-udev \ |
Hans-G?nter@23435 | 35 --disable-documentation \ |
Hans-G?nter@23435 | 36 --disable-systemd-integration \ |
pascal@12973 | 37 $CONFIGURE_ARGS && |
Hans-G?nter@23435 | 38 make && |
Hans-G?nter@23435 | 39 make install |
pascal@12973 | 40 } |
pascal@12973 | 41 |
pascal@12973 | 42 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@12973 | 43 genpkg_rules() |
pascal@12973 | 44 { |
Hans-G?nter@25144 | 45 mkdir -p $fs/lib |
Hans-G?nter@25144 | 46 mkdir -p $fs/usr/lib |
Hans-G?nter@23435 | 47 mkdir -p $fs/usr/share |
Hans-G?nter@23435 | 48 |
Hans-G?nter@23435 | 49 cp -a $install/bin $fs |
Hans-G?nter@23435 | 50 cp -a $install/etc $fs |
Hans-G?nter@23435 | 51 cp -a $install/sbin $fs |
Hans-G?nter@23435 | 52 cp -a $install/lib/*.so* $fs/lib |
Hans-G?nter@23438 | 53 # 0.9.4 plymouth-log-viewer and rhgb-client no longer supplied |
Hans-G?nter@25147 | 54 # cp -a $install/usr/bin $fs/usr |
Hans-G?nter@23435 | 55 cp -a $install/usr/sbin $fs/usr |
Hans-G?nter@23435 | 56 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@23435 | 57 cp -a $install/usr/lib/plymouth $fs/usr/lib |
Hans-G?nter@23435 | 58 |
Hans-G?nter@23435 | 59 rm $fs/usr/lib/plymouth/*.*a |
Hans-G?nter@23435 | 60 rm $fs/usr/lib/plymouth/*/*.*a |
pascal@12973 | 61 } |