wok annotate plymouth/receipt @ rev 24473
updated ddrescue (1.25 -> 1.26)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 17 15:55:17 2022 +0100 (2022-02-17) |
parents | 2d9006b21be0 |
children | bc373060e0a6 |
rev | line source |
---|---|
pascal@12973 | 1 # SliTaz package receipt. |
pascal@12973 | 2 |
pascal@12973 | 3 PACKAGE="plymouth" |
Hans-G?nter@23435 | 4 VERSION="0.9.4" |
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@23435 | 12 WGET_URL="https://www.freedesktop.org/software/plymouth/releases/$TARBALL" |
Hans-G?nter@23435 | 13 |
Hans-G?nter@23437 | 14 DEPENDS="gtk+3 libdrm libpng pango xorg-libpciaccess" |
Hans-G?nter@23437 | 15 BUILD_DEPENDS="gtk+3-dev libdrm-dev libpng-dev pango-dev xorg-libpciaccess-dev" |
pascal@12973 | 16 |
pascal@24453 | 17 # What is the latest version available today? |
pascal@24453 | 18 current_version() |
pascal@24453 | 19 { |
pascal@24453 | 20 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ |
pascal@24453 | 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24453 | 22 } |
pascal@24453 | 23 |
pascal@12973 | 24 # Rules to configure and make the package. |
pascal@12973 | 25 compile_rules() |
pascal@12973 | 26 { |
Hans-G?nter@23435 | 27 ./configure \ |
Hans-G?nter@23435 | 28 --sysconfdir=/etc \ |
Hans-G?nter@23435 | 29 --localstatedir=/var \ |
Hans-G?nter@23435 | 30 --libexecdir=/usr/lib \ |
Hans-G?nter@23435 | 31 --with-system-root-install \ |
Hans-G?nter@23435 | 32 --with-log-viewer \ |
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-libdrm_nouveau \ |
Hans-G?nter@23435 | 37 --disable-systemd-integration \ |
pascal@12973 | 38 $CONFIGURE_ARGS && |
Hans-G?nter@23435 | 39 make && |
Hans-G?nter@23435 | 40 make install |
pascal@12973 | 41 } |
pascal@12973 | 42 |
pascal@12973 | 43 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@12973 | 44 genpkg_rules() |
pascal@12973 | 45 { |
Hans-G?nter@23435 | 46 mkdir -p $fs/lib $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@23438 | 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 } |