wok-next annotate hylafax/receipt @ rev 21257
encfs: use cmake
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 06 13:47:57 2019 +0100 (2019-12-06) |
parents | d5aab818505e |
children | fb066ce7f955 |
rev | line source |
---|---|
al@21020 | 1 # SliTaz package receipt v2. |
pascal@17485 | 2 |
pascal@17485 | 3 PACKAGE="hylafax" |
pascal@17485 | 4 VERSION="6.0.6" |
pascal@17485 | 5 CATEGORY="network" |
al@21020 | 6 SHORT_DESC="Enterprise-class system for sending and receiving facsimiles" |
pascal@17485 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17485 | 8 LICENSE="BSD" |
al@21020 | 9 WEB_SITE="https://www.hylafax.org/" |
al@21020 | 10 |
pascal@17485 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@17485 | 12 WGET_URL="ftp://ftp.hylafax.org/source/$TARBALL" |
pascal@17485 | 13 |
al@21080 | 14 BUILD_DEPENDS="tiff-dev zlib-dev mgetty ghostscript" |
pascal@17485 | 15 |
al@21020 | 16 compile_rules() { |
pascal@17485 | 17 [ -f defs.org ] && cp defs.org defs |
pascal@17485 | 18 [ -f etc/Makefile.org ] && cp etc/Makefile.org etc/Makefile |
pascal@17485 | 19 sed -i -e 's|=/usr/local/|=/usr/|g' configure |
pascal@17485 | 20 yes '' | ./configure |
pascal@17485 | 21 make |
pascal@17485 | 22 cp defs defs.org |
al@21020 | 23 sed \ |
al@21020 | 24 -e "s|= /usr/bin|= $install/usr/bin|" \ |
al@21020 | 25 -e "s|= /usr/sbin|= $install//usr/sbin|" \ |
al@21020 | 26 -e "s|= /usr/lib|= $install/usr/lib|" \ |
al@21020 | 27 -e "s|= /usr/man|= $install/usr/man|" \ |
al@21020 | 28 -e "s|= /var/|= $install/var/|" \ |
pascal@17485 | 29 -e 's|= uucp|= root|' \ |
pascal@17485 | 30 -e 's|= bin|= root|' \ |
al@21020 | 31 -i defs |
al@21020 | 32 mkdir -p $install/usr/lib $install/var/spool/hylafax |
pascal@17485 | 33 cp etc/Makefile etc/Makefile.org |
al@21020 | 34 sed -i -e "s|/etc/init.d|$install/etc/init.d|" \ |
al@21020 | 35 -e "s|/etc/config|$install/etc/config|" \ |
pascal@17485 | 36 etc/Makefile |
al@21020 | 37 mkdir -p $install/etc/init.d |
al@21020 | 38 make DESTDIR=$install install |
pascal@17485 | 39 } |
pascal@17485 | 40 |
al@21020 | 41 genpkg_rules() { |
pascal@17485 | 42 mkdir -p $fs/usr |
pascal@17485 | 43 cp -a $install/usr/bin $fs/usr |
pascal@17485 | 44 cp -a $install/usr/sbin $fs/usr |
pascal@17485 | 45 cp -a $install/usr/lib $fs/usr |
pascal@17485 | 46 cp -a $install/var $fs |
pascal@17485 | 47 rm -rf $install/var/spool/hylafax/etc/templates |
pascal@17485 | 48 cp -a $install/etc $fs |
al@21080 | 49 DEPENDS="jpeg libtiff tiff zlib postfix mgetty ghostscript" |
pascal@17485 | 50 } |