Receipt for package "hylafax"
# SliTaz package receipt. PACKAGE="hylafax" VERSION="6.0.7" CATEGORY="network" SHORT_DESC="enterprise-class system for sending and receiving facsimiles." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" WEB_SITE="https://www.hylafax.org/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="ftp://ftp.hylafax.org/source/$TARBALL" DEPENDS="ghostscript jpeg mgetty postfix tiff tiff-apps zlib" BUILD_DEPENDS="ghostscript mgetty tiff-apps tiff-dev zlib-dev" # What is the latest version available today? current_version() { wget -O - http://git.hylafax.org/HylaFAX 2>/dev/null | \ sed '/>log</!d;/HYLAFAX/!d;s|.*HYLAFAX-||;s|".*||;s|_|.|g;q' } # Rules to configure and make the package. compile_rules() { # accept tiff version 4.* as well: sed -i 's|4.\[0\]|4.*|' configure [ -f defs.org ] && cp defs.org defs [ -f etc/Makefile.org ] && cp etc/Makefile.org etc/Makefile sed -i -e 's|=/usr/local/|=/usr/|g' configure yes '' | ./configure make cp defs defs.org sed -i -e "s|= /usr/bin|= $DESTDIR/usr/bin|" \ -e "s|= /usr/sbin|= $DESTDIR//usr/sbin|" \ -e "s|= /usr/lib|= $DESTDIR/usr/lib|" \ -e "s|= /usr/man|= $DESTDIR/usr/man|" \ -e "s|= /var/|= $DESTDIR/var/|" \ -e 's|= uucp|= root|' \ -e 's|= bin|= root|' \ defs mkdir -p $DESTDIR/usr/lib mkdir -p $DESTDIR/var/spool/hylafax cp etc/Makefile etc/Makefile.org sed -i -e "s|/etc/init.d|$DESTDIR/etc/init.d|" \ -e "s|/etc/config|$DESTDIR/etc/config|" \ etc/Makefile mkdir -p $DESTDIR/etc/init.d make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cook_copy_folders bin cook_copy_folders lib cook_copy_folders sbin cook_copy_folders var rm -rf $install/var/spool/hylafax/etc/templates cp -a $install/etc $fs }
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)