wok view gnome-commander/receipt @ rev 24972

Up lzsa (1.3.11)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 01 08:42:44 2022 +0000 (2022-05-01)
parents a78610b2eb47
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gnome-commander"
4 VERSION="1.4.8"
5 CATEGORY="utilities"
6 SHORT_DESC="A full featured, twin-panel file manager for Gnome2"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://gcmd.github.io/"
11 WGET_URL="https://download.gnome.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="exiv2 lcms libgnome-keyring libgnomeui libgsf poppler taglib libunique"
14 BUILD_DEPENDS="gtk+-dev glib-dev gnome-doc-utils-dev libgnome-dev \
15 libgnomeui-dev gdk-pixbuf-dev cairo-dev pango-dev atk-dev libbonoboui-dev \
16 libgnomecanvas-dev libart_lgpl-dev xorg-libXinerama-dev xorg-libXrandr-dev \
17 xorg-dev libgnome-keyring-dev libgcrypt-dev rarian-dev rarian exiv2-dev \
18 taglib-dev libgsf-dev poppler-dev chmlib-dev lcms-dev flex python-dev \
19 util-linux-uuid-dev libunique-dev"
21 current_version()
22 {
23 wget -O - $(dirname $WGET_URL)/$(wget -O - $(dirname $WGET_URL) 2>/dev/null | \
24 sed '/href="[0-9]/!d;s|.*href="\(.*\)/".*|\1|' | sort -Vr | sed q) 2>/dev/null | \
25 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 ./configure \
32 --disable-scrollkeeper \
33 $CONFIGURE_ARGS &&
34 make &&
35 make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/share
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/lib $fs/usr
44 find $fs/usr/lib/gnome-commander -name "*.*a" -delete
45 cp -a $install/usr/share/applications $fs/usr/share
46 cp -a $install/usr/share/pixmaps $fs/usr/share
47 }