wok-next view xarchiver/receipt @ rev 19778

glib: no more libgio package:
As ldd show, libgio-2.0.so (from former libgio package) depends on libgobject-2.0.so.0, libgmodule-2.0.so.0, libglib-2.0.so.0 (from former glib package): libgio package depends on glib package.
In other hand, binaries from former glib package (gsettings, gapplication, gresource, gio-querymodules, glib-compile-resources, gdbus, gio) depends on libglib-2.0.so.0: glib package depends on libgio package.

Solution: packages was combined. Use 'glib' instead of 'libgio', as well as glib-dev instead of libgio-dev.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jun 16 14:56:07 2017 +0300 (2017-06-16)
parents 432b40f0a85f
children 60bd4df08f57
line source
1 # SliTaz package receipt.
3 PACKAGE="xarchiver"
4 VERSION="0.5.4"
5 CATEGORY="x-window"
6 SHORT_DESC="A GTK+ lightweight archive manager"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://xarchiver.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/xarchiver/$VERSION/$TARBALL"
13 # binutils for ar; busybox also contains gzip & cpio; rar is get-rar;
14 # gtar is absent
15 SUGGESTED="arj bzip2 binutils gzip lzma xz lzop lha rar cpio zip p7zip-full"
16 DEPENDS="gtk+"
17 BUILD_DEPENDS="gtk+-dev"
18 GENERIC_PIXMAPS="no"
19 GENERIC_MENUS="no"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 patch -p0 < $stuff/xarchiver-0.5.3-icons.diff
25 ./configure \
26 --prefix=/usr \
27 --libexecdir=/usr/lib \
28 $CONFIGURE_ARGS &&
29 make && make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib $fs/usr
38 cp -a $install/usr/share/applications $fs/usr/share
39 cp -a $install/usr/share/icons $fs/usr/share
40 rm -rf $fs/usr/share/icons/hicolor/scalable
42 sed -i '/Encoding/d; /Version/d; /Name\[.*\]=Xarchiver/d; /GenericName/d; s|multipart/x-zip;||; /Exec/s/.*/& %f/' \
43 $fs/usr/share/applications/xarchiver.desktop
45 mkdir -p $fs/var/www/cgi-bin $fs/usr/share/doc/xarchiver/html
46 cp -a $stuff/xarchiver.cgi $fs/var/www/cgi-bin
47 cp -a $stuff/index.html $fs/usr/share/doc/xarchiver/html
48 }