wok-current view caja/receipt @ rev 24988
Fix perl-gd & tcptrack
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 12 11:01:25 2022 +0000 (2022-05-12) |
parents | 6fab3264ba87 |
children | 73f36875e5a7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="caja"
4 VERSION="1.9.3"
5 CATEGORY="utilities"
6 LICENSE="GPL3"
7 SHORT_DESC="MATE file manager."
8 MAINTAINER="yuripourre@gmail.com"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.mate-desktop.org/"
11 WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL"
13 DEPENDS="gtk+ mate-desktop dconf exempi gvfs libunique"
14 BUILD_DEPENDS="wget dbus-dev dconf-dev cacerts autoconf automake libtool itstool \
15 gtk+-dev gtk-doc mate-common-dev mate-desktop-dev mate-icon-theme libunique-dev \
16 gvfs-dev desktop-file-utils gobject-introspection-dev util-linux-uuid-dev"
17 SUGGESTED="gvfs-smb"
19 TAGS="MATE file-manager"
21 current_version()
22 {
23 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
24 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./autogen.sh \
31 --prefix=/usr \
32 --libexecdir=/usr/lib/$PACKAGE \
33 --enable-introspection \
34 --enable-unique \
35 --disable-static \
36 --disable-update-mimedb \
37 $CONFIGURE_ARGS &&
38 make &&
39 make DESTDIR=$DESTDIR install
40 }
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share/$PACKAGE
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 cp -a $install/usr/lib/$PACKAGE/* $fs/usr/lib/$PACKAGE
48 cp -a $install/usr/share/$PACKAGE/* $fs/usr/share/$PACKAGE
50 mkdir -p $fs/usr/share/applications
51 cp -a $install/usr/share/applications/* $fs/usr/share/applications
53 mkdir -p $fs/usr/share/dbus-1
54 cp -a $install/usr/share/dbus-1/* $fs/usr/share/dbus-1
56 mkdir -p $fs/usr/share/pixmaps
57 cp -a $install/usr/share/icons/hicolor/32x32/apps/*.png \
58 $fs/usr/share/pixmaps
60 cp -a $install/usr/share/MateConf $fs/usr/share
61 cp -a $install/usr/share/glib-2.0 $fs/usr/share
62 }