wok-current view hylafax/receipt @ rev 21047

updated imlib2 and imlib2-dev (1.4.6 -> 1.5.1)
author Hans-G?nter Theisgen
date Tue Mar 12 16:40:34 2019 +0100 (2019-03-12)
parents 4ec8ff5f196d
children 833c2c04420b
line source
1 # SliTaz package receipt.
3 PACKAGE="hylafax"
4 VERSION="6.0.7"
5 CATEGORY="network"
6 SHORT_DESC="enterprise-class system for sending and receiving facsimiles."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://www.hylafax.org/"
11 WGET_URL="ftp://ftp.hylafax.org/source/$TARBALL"
13 DEPENDS="jpeg tiff tiff-apps zlib postfix mgetty ghostscript"
14 BUILD_DEPENDS="tiff-dev tiff-apps zlib-dev mgetty ghostscript"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 [ -f defs.org ] && cp defs.org defs
20 [ -f etc/Makefile.org ] && cp etc/Makefile.org etc/Makefile
21 sed -i -e 's|=/usr/local/|=/usr/|g' configure
22 yes '' | ./configure
23 make
24 cp defs defs.org
25 sed -i -e "s|= /usr/bin|= $DESTDIR/usr/bin|" \
26 -e "s|= /usr/sbin|= $DESTDIR//usr/sbin|" \
27 -e "s|= /usr/lib|= $DESTDIR/usr/lib|" \
28 -e "s|= /usr/man|= $DESTDIR/usr/man|" \
29 -e "s|= /var/|= $DESTDIR/var/|" \
30 -e 's|= uucp|= root|' \
31 -e 's|= bin|= root|' \
32 defs
33 mkdir -p $DESTDIR/usr/lib $DESTDIR/var/spool/hylafax
34 cp etc/Makefile etc/Makefile.org
35 sed -i -e "s|/etc/init.d|$DESTDIR/etc/init.d|" \
36 -e "s|/etc/config|$DESTDIR/etc/config|" \
37 etc/Makefile
38 mkdir -p $DESTDIR/etc/init.d
39 make DESTDIR=$DESTDIR install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr
46 cp -a $install/usr/bin $fs/usr
47 cp -a $install/usr/sbin $fs/usr
48 cp -a $install/usr/lib $fs/usr
49 cp -a $install/var $fs
50 rm -rf $install/var/spool/hylafax/etc/templates
51 cp -a $install/etc $fs
52 }