wok-next annotate libdv/receipt @ rev 19830
Up cookutils, libdv, ntk-dev
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Aug 05 05:00:03 2017 +0300 (2017-08-05) |
parents | fb478984fbc8 |
children | 0ec6086e21d6 |
rev | line source |
---|---|
al@19829 | 1 # SliTaz package receipt v2. |
pankso@295 | 2 |
pankso@295 | 3 PACKAGE="libdv" |
pankso@295 | 4 VERSION="1.0.0" |
pankso@295 | 5 CATEGORY="multimedia" |
al@19829 | 6 SHORT_DESC="Software codec for DV video" |
pankso@295 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15472 | 8 LICENSE="LGPL2.1" |
al@19829 | 9 WEB_SITE="http://libdv.sourceforge.net/" |
al@19829 | 10 |
pankso@295 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@295 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@295 | 13 |
al@19829 | 14 # With no effect on final binaries: xorg-libX11-dev xorg-libXt-dev libsdl-dev |
al@19829 | 15 BUILD_DEPENDS="gfortran" |
al@19829 | 16 SPLIT="libdv-dev" |
pankso@9794 | 17 |
pankso@295 | 18 # Rules to configure and make the package. |
pankso@295 | 19 compile_rules() |
pankso@295 | 20 { |
al@19830 | 21 tazpkg -r popt |
al@19830 | 22 |
al@19829 | 23 # http://www.linuxfromscratch.org/blfs/view/stable/multimedia/libdv.html |
pankso@295 | 24 ./configure \ |
al@19829 | 25 --disable-xv \ |
al@19829 | 26 --disable-static \ |
al@19829 | 27 $CONFIGURE_ARGS && |
al@19829 | 28 make && make install && |
al@19829 | 29 |
al@19829 | 30 docdir="$install/usr/share/doc/libdv-$VERSION" && |
al@19829 | 31 mkdir -p $docdir && |
al@19829 | 32 cp README* $docdir |
pankso@295 | 33 } |
pankso@295 | 34 |
pankso@295 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@295 | 36 genpkg_rules() |
pankso@295 | 37 { |
al@19829 | 38 case $PACKAGE in |
al@19829 | 39 libdv) copy @std;; |
al@19829 | 40 *-dev) copy @dev;; |
al@19829 | 41 esac |
pankso@295 | 42 } |