wok-6.x view fbpanel/receipt @ rev 25512
memtest: 386/1M support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 14 07:20:48 2023 +0000 (21 months ago) |
parents | d553aadba0d3 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="fbpanel"
4 VERSION="7.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Fbpanel is a lightweight GTK2-based panel for UNIX desktop."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://github.com/aanatoly/fbpanel"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/aanatoly/$PACKAGE/archive/$VERSION.tar.gz"
14 DEPENDS="gtk+"
15 BUILD_DEPENDS="gtk+-dev"
16 HOST_ARCH="i486 arm"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 patch -p 1 .config/rules.mk $stuff/patch.7.0
28 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
29 ./configure &&
30 make -j 1 &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib $fs/usr
40 cp -a $install/usr/share $fs/usr
41 # Custom config file
42 cp -a $stuff/default $fs/usr/share/fbpanel
43 }