wok-next view vcdimager/receipt @ rev 20404

Up cookutils (1019)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Dec 07 14:34:32 2017 +0200 (2017-12-07)
parents 0c247ee1a841
children d43bf7aae921
line source
1 # SliTaz package receipt v2.
3 PACKAGE="vcdimager"
4 VERSION="0.7.24"
5 CATEGORY="multimedia"
6 SHORT_DESC="vcd tools"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.vcdimager.org/"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
13 BUILD_DEPENDS="libcdio libcdio-dev libxml2-dev popt-dev gfortran"
14 SPLIT="vcdimager vcdimager-dev vcdimager-xmltools"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure $CONFIGURE_ARGS &&
20 make && make install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 case $PACKAGE in
27 vcdimager)
28 TAGS="multimedia video vcd"
29 DEPENDS="libcdio libxml2 popt"
30 mkdir -p $fs/usr/bin
31 cp -a $install/usr/bin/vcdimager $fs/usr/bin
32 ;;
33 vcdimager-dev)
34 CAT="development|vcdimager devel files"
35 DEPENDS="pkg-config"
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/*.*a $fs/usr/lib
38 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
39 cp -a $install/usr/include $fs/usr
40 ;;
41 vcdimager-xmltools)
42 CAT="multimedia|vcd xml and diagnostic tools from vcdimager"
43 TAGS="vcd"
44 DEPENDS="vcdimager"
45 mkdir -p $fs/usr/bin $fs/usr/lib
46 cp -a $install/usr/bin/ $fs/usr
47 cp -a $install/usr/lib/*.so* $fs/usr/lib
48 rm $fs/usr/bin/vcdimager
49 ;;
50 esac
51 }