wok view cdrtools/receipt @ rev 23216
openvpn: add make-ovpn
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 22 20:02:34 2020 +0100 (2020-03-22) |
parents | eb3db1a07cca |
children | 076f424196b2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cdrtools"
4 VERSION="3.02a09"
5 CATEGORY="multimedia"
6 SHORT_DESC="Command line programs to record CD/DVD/BluRay media."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2 LGPL2.1"
9 WEB_SITE="http://cdrtools.sourceforge.net/private/cdrecord.html"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 CONFIG_FILES="/etc/default/cdrecord /etc/default/rscsi"
15 DEPENDS=""
16 BUILD_DEPENDS="acl-dev libcap-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i 's|uname -m|echo i686|' RULES/*
22 sed -i 's/DEFINSGRP=.*/DEFINSGRP=root/' DEFAULTS/Defaults.linux
23 {
24 ./configure
25 make -j 1 &&
26 make -j 1 DESTDIR=$DESTDIR install
27 } 2>&1 | sed 's/: No such/: no such/'
29 mkdir -p $install/usr
30 mv $install/opt/schily/* $install/usr
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib $fs/usr/share
37 cp -a $install/etc $fs
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/sbin $fs/usr
40 cp -a $install/usr/lib/siconv $fs/usr/lib
41 cp -a $install/usr/share/doc $fs/usr/share
42 }