wok-current annotate gmtp/receipt @ rev 25730

Fix depend for xorg-server (libxshmfence)
author Stanislas Leduc <shann@slitaz.org>
date Thu Dec 05 13:05:56 2024 +0000 (12 days ago)
parents 69e1e705f038
children
rev   line source
al@17020 1 # SliTaz package receipt.
al@17020 2
al@17020 3 PACKAGE="gmtp"
Hans-G?nter@22858 4 VERSION="1.3.11"
al@17020 5 CATEGORY="utilities"
Hans-G?nter@22858 6 SHORT_DESC="A simple graphical MTP client."
al@17020 7 MAINTAINER="al.bobylev@gmail.com"
al@17020 8 LICENSE="BSD"
pascal@25510 9 WEB_SITE="https://sourceforge.net/projects/gmtp/"
Hans-G?nter@22858 10
al@17020 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@17020 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
al@17020 13
Hans-G?nter@22858 14 DEPENDS="flac GConf libid3tag libmtp"
Hans-G?nter@22858 15 BUILD_DEPENDS="flac-dev GConf-dev gtk+-dev libid3tag-dev libmtp-dev
Hans-G?nter@22858 16 libvorbis-dev"
al@17020 17
shann@25728 18 HOST_ARCH="i486 x86_64"
shann@25728 19
pascal@24403 20 # What is the latest version available today?
pascal@24403 21 current_version()
pascal@24403 22 {
pascal@24403 23 wget -O - https://sourceforge.net/projects/gmtp/files/ 2>/dev/null | \
pascal@24403 24 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24403 25 sed '/scope="row/!d;s|.*/gMTP-||;s|/.*||;q'
pascal@24403 26 }
pascal@24403 27
al@17020 28 # Rules to configure and make the package.
al@17020 29 compile_rules()
al@17020 30 {
Hans-G?nter@22858 31 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@22858 32 make &&
Hans-G?nter@22858 33 make install
al@17020 34 }
al@17020 35
al@17020 36 # Rules to gen a SliTaz package suitable for Tazpkg.
al@17020 37 genpkg_rules()
al@17020 38 {
Hans-G?nter@22858 39 cp -a $install/* $fs
al@17020 40 }