wok-6.x view xfce4-panel/receipt @ rev 24749
cairo: modified lookup-symbol.c for binutils-2.37
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 16 17:06:35 2022 +0100 (2022-03-16) |
parents | 251c25e029b0 |
children | bd7510903310 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xfce4-panel"
4 VERSION="4.12.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce Panel"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.xfce.org/"
11 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="libxfce4util libxfce4ui libexo libwnck garcon util-linux-uuid dbus-glib"
14 BUILD_DEPENDS="libxfce4util-dev libxfce4ui-dev libexo-dev libwnck-dev cairo-dev garcon-dev
15 xorg-libXext-dev xorg-xextproto dbus-glib-dev util-linux-uuid-dev intltool exo xfconf-dev
16 libxml2-dev xcb-util-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
22 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
23 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
30 cd $src
31 ./configure --prefix=/usr \
32 --sysconfdir=/etc \
33 --disable-debug \
34 --mandir=/usr/share/man $CONFIGURE_ARGS && \
35 make && make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr \
42 $fs/usr/share/locale \
43 $fs/usr/share/xfce4 \
44 $fs/usr/lib/xfce4/panel/plugins
46 cp -a $install/etc $fs
47 cp -a $install/usr/bin $fs/usr
48 cp -a $install/usr/lib/*.so* $fs/usr/lib
49 cp -a $install/usr/lib/xfce4/panel/plugins/*.so* $fs/usr/lib/xfce4/panel/plugins
50 cp -a $install/usr/lib/xfce4/panel/migrate $fs/usr/lib/xfce4/panel
51 cp -a $install/usr/lib/xfce4/panel/wrapper-1.0 $fs/usr/lib/xfce4/panel
52 cp -a $install/usr/share/applications $fs/usr/share
53 cp -a $install/usr/share/icons $fs/usr/share
54 cp -a $install/usr/share/xfce4 $fs/usr/share
56 # Strip evrythings
57 find $fs/usr/lib/ -exec strip -s {} 2> /dev/null \;
59 }