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