wok annotate dvgrab/receipt @ rev 25633

wbar: remove imlib2-config
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 24 10:30:04 2023 +0000 (10 months ago)
parents 34e801e0eb52
children
rev   line source
slaxemulator@7576 1 # SliTaz package receipt.
slaxemulator@7576 2
slaxemulator@7576 3 PACKAGE="dvgrab"
slaxemulator@7576 4 VERSION="3.5"
slaxemulator@7576 5 CATEGORY="multimedia"
slaxemulator@7576 6 MAINTAINER="jozee@slitaz.org"
pascal@15239 7 LICENSE="GPL2"
slaxemulator@7576 8 SHORT_DESC="Saves audio and video data from an IEEE (FireWire) digital source"
pascal@21824 9 WEB_SITE="https://github.com/ddennedy/dvgrab"
slaxemulator@7576 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@25465 11 WGET_URL="$SF_MIRROR/kino/$TARBALL"
slaxemulator@7576 12 TAGS="firewire video"
slaxemulator@7576 13
pascal@16605 14 DEPENDS="libdv libavc1394 jpeg libiec61883 gcc-lib-base jpeg"
pascal@16605 15 BUILD_DEPENDS="pkg-config libdv-dev libraw1394-dev libavc1394-dev \
pascal@16605 16 libiec61883-dev jpeg-dev"
pascal@15239 17
pascal@24497 18 # What is the latest version available today?
pascal@24497 19 current_version()
pascal@24497 20 {
pascal@24497 21 wget -O - https://raw.githubusercontent.com/ddennedy/dvgrab/master/ChangeLog 2>/dev/null | \
pascal@24497 22 sed '/released/!d;s|.*v||;s| rel.*||;q'
pascal@24497 23 }
pascal@24497 24
slaxemulator@7576 25 # Rules to configure and make the package.
slaxemulator@7576 26
pascal@15239 27 compile_rules()
pascal@15239 28 {
pascal@15239 29 ./configure --prefix=/usr &&
pascal@15239 30 make &&
pascal@15239 31 make DESTDIR=$DESTDIR install
slaxemulator@7576 32 }
slaxemulator@7576 33
slaxemulator@7576 34 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7576 35 genpkg_rules()
slaxemulator@7576 36 {
slaxemulator@7576 37 mkdir -p $fs/usr
pascal@15239 38 cp -a $install/usr/bin $fs/usr
slaxemulator@7576 39 }