wok view plymouth/receipt @ rev 25614

Add libslirp
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 03 11:59:41 2023 +0000 (15 months ago)
parents bc373060e0a6
children
line source
1 # SliTaz package receipt.
3 PACKAGE="plymouth"
4 VERSION="0.9.5"
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/$PACKAGE/releases/$TARBALL"
14 DEPENDS="gtk+3 libdrm libpng libxml2 pango xorg-libpciaccess"
15 BUILD_DEPENDS="gtk+3-dev libdrm-dev libpng-dev libxml2-dev pango-dev
16 xorg-libpciaccess-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --sysconfdir=/etc \
30 --localstatedir=/var \
31 --libexecdir=/usr/lib \
32 --with-system-root-install \
33 --with-release-file=/etc/slitaz-release \
34 --without-udev \
35 --disable-documentation \
36 --disable-systemd-integration \
37 $CONFIGURE_ARGS &&
38 make &&
39 make install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/lib
46 mkdir -p $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 }