wok view libfm/receipt @ rev 16817

Add appdata-tools
author Yuri Pourre <yuripourre@gmail.com>
date Thu Jul 10 23:19:29 2014 -0300 (2014-07-10)
parents 3e67ad4646f6
children f069704d8270
line source
1 # SliTaz package receipt.
3 PACKAGE="libfm"
4 VERSION="1.2.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="File manager library from LXDE."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://pcmanfm.sourceforge.net"
11 WGET_URL="$SF_MIRROR/pcmanfm/files/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="glibc-base glib libgio util-linux-uuid libxcb xcb-util expat \
15 zlib fontconfig freetype gtk+ atk cairo pango pixman menu-cache \
16 shared-mime-info"
17 BUILD_DEPENDS="gtk+-dev dbus-glib-dev dbus-dev startup-notification-dev \
18 libxcb-dev xcb-util-dev menu-cache-dev expat-dev libgio-dev \
19 shared-mime-info-dev"
21 # hand SliTaz arch and cross compilation
22 case "$SLITAZ_ARCH" in
23 i?86) DEPENDS="$DEPENDS gamin"
24 esac
26 case "$ARCH" in
27 i?86) BUILD_DEPENDS="$BUILD_DEPENDS intltool gamin-dev vala"
28 esac
30 # Rules to configure and make the package.
31 compile_rules()
32 {
33 ./configure \
34 --sysconfdir=/etc \
35 $CONFIGURE_ARGS &&
36 make && make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib $fs/usr/share
43 cp -a $install/etc $fs
44 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/lib/*.so* $fs/usr/lib
46 cp -a $install/usr/lib/libfm $fs/usr/lib
47 cp -a $install/usr/share/libfm $fs/usr/share
48 cp -a $install/usr/share/applications $fs/usr/share
49 }