wok-6.x annotate libfm-extra/receipt @ rev 25437

Add wireguard for linux64
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 31 17:31:14 2022 +0000 (2022-08-31)
parents e9d0b2012a0d
children
rev   line source
al@21306 1 # SliTaz package receipt.
al@21306 2
al@21306 3 PACKAGE="libfm-extra"
Hans-G?nter@24745 4 VERSION="1.3.2"
al@21306 5 CATEGORY="system-tools"
Hans-G?nter@24745 6 SHORT_DESC="File management support (extra library)."
Hans-G?nter@24745 7 MAINTAINER="maintainer@slitaz.org"
al@21306 8 LICENSE="GPL2"
pascal@25060 9 WEB_SITE="https://www.lxde.org/"
al@21306 10
al@21306 11 TARBALL="libfm-$VERSION.tar.xz"
al@21306 12 WGET_URL="$SF_MIRROR/pcmanfm/$TARBALL"
al@21306 13
al@21306 14 GENERIC_MENUS="no"
al@21306 15
al@21306 16 DEPENDS="glib glibc-base libgio"
Hans-G?nter@24745 17 BUILD_DEPENDS="gtk-doc"
al@21306 18
pascal@24071 19 current_version()
pascal@24071 20 {
pascal@24071 21 wget -O - https://sourceforge.net/projects/pcmanfm/files/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/LibFM/ 2>/dev/null | \
pascal@24071 22 sed "/libfm-/!d;/tar/!d;s|.*libfm-\\(.*\\).tar.*\".*|\\1|;q"
pascal@24071 23 }
pascal@24071 24
al@21306 25 # Rules to configure and make the package.
al@21306 26 compile_rules()
al@21306 27 {
Hans-G?nter@24745 28 ./configure \
Hans-G?nter@24745 29 --sysconfdir=/etc \
Hans-G?nter@24745 30 --with-extra-only \
Hans-G?nter@24745 31 --with-gtk=no \
Hans-G?nter@24745 32 --disable-static \
al@21306 33 $CONFIGURE_ARGS &&
al@21306 34 make &&
al@21306 35 make install
al@21306 36 }
al@21306 37
al@21306 38 # Rules to gen a SliTaz package suitable for Tazpkg.
al@21306 39 genpkg_rules()
al@21306 40 {
Hans-G?nter@24745 41 cook_copy_files *.so*
al@21306 42 }