wok annotate fbpanel/receipt @ rev 24161

updated memtester (4.3.0 -> 4.5.1)
author Hans-G?nter Theisgen
date Wed Dec 22 13:43:13 2021 +0100 (2021-12-22)
parents d553aadba0d3
children 20ad21d5532c
rev   line source
pascal@11221 1 # SliTaz package receipt.
pascal@11221 2
pascal@11221 3 PACKAGE="fbpanel"
Hans-G?nter@20915 4 VERSION="7.0"
pascal@11221 5 CATEGORY="x-window"
pascal@11221 6 SHORT_DESC="Fbpanel is a lightweight GTK2-based panel for UNIX desktop."
pascal@11221 7 MAINTAINER="pankso@slitaz.org"
pascal@15593 8 LICENSE="MIT"
Hans-G?nter@20915 9 WEB_SITE="https://github.com/aanatoly/fbpanel"
Hans-G?nter@20915 10
Hans-G?nter@20915 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@20915 12 WGET_URL="https://github.com/aanatoly/$PACKAGE/archive/$VERSION.tar.gz"
pascal@11221 13
pascal@15593 14 DEPENDS="gtk+"
pascal@15593 15 BUILD_DEPENDS="gtk+-dev"
Hans-G?nter@20915 16 HOST_ARCH="i486 arm"
pascal@15593 17
pascal@24055 18 current_version()
pascal@24055 19 {
pascal@24055 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
pascal@24055 22 }
pascal@24055 23
pascal@11221 24 # Rules to configure and make the package.
pascal@11221 25 compile_rules()
pascal@11221 26 {
Hans-G?nter@20915 27 patch -p 1 .config/rules.mk $stuff/patch.7.0
pascal@17670 28 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
Hans-G?nter@20915 29 ./configure &&
Hans-G?nter@20915 30 make -j 1 &&
Hans-G?nter@20915 31 make install
pascal@11221 32 }
pascal@11221 33
pascal@11221 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11221 35 genpkg_rules()
pascal@11221 36 {
pascal@11221 37 mkdir -p $fs/usr
pascal@15593 38 cp -a $install/usr/bin $fs/usr
pascal@15593 39 cp -a $install/usr/lib $fs/usr
pascal@15593 40 cp -a $install/usr/share $fs/usr
pascal@11221 41 # Custom config file
pascal@11221 42 cp -a $stuff/default $fs/usr/share/fbpanel
pascal@11221 43 }