wok-current view libfm-extra/receipt @ rev 25586

Fix linux build with gcc > 6 again
author Stanislas Leduc <shann@slitaz.org>
date Mon May 29 12:23:26 2023 +0000 (17 months ago)
parents e9d0b2012a0d
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libfm-extra"
4 VERSION="1.3.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="File management support (extra library)."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.lxde.org/"
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="gtk-doc"
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 ./configure \
29 --sysconfdir=/etc \
30 --with-extra-only \
31 --with-gtk=no \
32 --disable-static \
33 $CONFIGURE_ARGS &&
34 make &&
35 make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cook_copy_files *.so*
42 }