wok view libfm/receipt @ rev 16408
Up: mikmod (3.2.5), libmikmod (3.3.6)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Thu Apr 17 10:49:27 2014 +0400 (2014-04-17) |
parents | c46591bcff38 |
children | 3e67ad4646f6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libfm"
4 VERSION="1.2.0"
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/share/libfm $fs/usr/share
47 cp -a $install/usr/share/mime $fs/usr/share
48 cp -a $install/usr/share/applications $fs/usr/share
49 }
51 post_install()
52 {
53 # update mime-cache
54 echo "Updating mime-types database"
55 chroot "$1/" /usr/bin/update-mime-database /usr/share/mime
56 }