wok annotate plymouth/receipt @ rev 24093

Up squashfs (4.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 27 16:57:54 2021 +0000 (2021-07-27)
parents 031999b89427
children 241fb98cab1c
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@12973 17 # Rules to configure and make the package.
pascal@12973 18 compile_rules()
pascal@12973 19 {
Hans-G?nter@23435 20 ./configure \
Hans-G?nter@23435 21 --sysconfdir=/etc \
Hans-G?nter@23435 22 --localstatedir=/var \
Hans-G?nter@23435 23 --libexecdir=/usr/lib \
Hans-G?nter@23435 24 --with-system-root-install \
Hans-G?nter@23435 25 --with-log-viewer \
Hans-G?nter@23435 26 --with-release-file=/etc/slitaz-release \
Hans-G?nter@23436 27 --without-udev \
Hans-G?nter@23435 28 --disable-documentation \
Hans-G?nter@23435 29 --disable-libdrm_nouveau \
Hans-G?nter@23435 30 --disable-systemd-integration \
pascal@12973 31 $CONFIGURE_ARGS &&
Hans-G?nter@23435 32 make &&
Hans-G?nter@23435 33 make install
pascal@12973 34 }
pascal@12973 35
pascal@12973 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@12973 37 genpkg_rules()
pascal@12973 38 {
Hans-G?nter@23435 39 mkdir -p $fs/lib $fs/usr/lib
Hans-G?nter@23435 40 mkdir -p $fs/usr/share
Hans-G?nter@23435 41
Hans-G?nter@23435 42 cp -a $install/bin $fs
Hans-G?nter@23435 43 cp -a $install/etc $fs
Hans-G?nter@23435 44 cp -a $install/sbin $fs
Hans-G?nter@23435 45 cp -a $install/lib/*.so* $fs/lib
Hans-G?nter@23438 46 # 0.9.4 plymouth-log-viewer and rhgb-client no longer supplied
Hans-G?nter@23438 47 # cp -a $install/usr/bin $fs/usr
Hans-G?nter@23435 48 cp -a $install/usr/sbin $fs/usr
Hans-G?nter@23435 49 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@23435 50 cp -a $install/usr/lib/plymouth $fs/usr/lib
Hans-G?nter@23435 51
Hans-G?nter@23435 52 rm $fs/usr/lib/plymouth/*.*a
Hans-G?nter@23435 53 rm $fs/usr/lib/plymouth/*/*.*a
pascal@12973 54 }