wok view libfm-extra/receipt @ rev 24347

Up expat (2.4.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 02 09:41:22 2022 +0000 (2022-02-02)
parents 123199f38bb3
children e9d0b2012a0d
line source
1 # SliTaz package receipt.
3 PACKAGE="libfm-extra"
4 VERSION="1.3.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="File management support (extra library)"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://pcmanfm.sourceforge.net"
11 TARBALL="libfm-$VERSION.tar.xz"
12 WGET_URL="$SF_MIRROR/pcmanfm/$TARBALL"
14 GENERIC_MENUS="no"
16 DEPENDS="glib glibc-base libgio"
17 BUILD_DEPENDS="automake gtk-doc libtool intltool"
19 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/pcmanfm/files/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/LibFM/ 2>/dev/null | \
22 sed "/libfm-/!d;/tar/!d;s|.*libfm-\\(.*\\).tar.*\".*|\\1|;q"
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./autogen.sh
29 ./configure \
30 --sysconfdir=/etc \
31 --with-extra-only \
32 --with-gtk=no \
33 --disable-static \
34 $CONFIGURE_ARGS &&
35 make &&
36 make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib
43 cp -a $install/usr/lib/*.so* $fs/usr/lib/
44 }