testing/hylafax: add uclibc++ to depends. new style install script

This commit is contained in:
Natanael Copa 2009-03-10 09:12:06 +00:00
parent 2ec62de094
commit cd3cb35b40
3 changed files with 10 additions and 36 deletions

View File

@ -5,11 +5,11 @@ pkgver=4.4.4
pkgrel=0
pkgdesc="Sends and receives faxes"
url="http://www.hylafax.org/"
license="See COPYING"
license="custom"
#depends on gcc for libgcc_s.so, it's scripts are hardcoded to bash
depends="uclibc uclibc++ zlib tiff ghostscript bash gcc"
makedepends="zlib-dev tiff-dev"
install="hylafax.install"
makedepends="zlib-dev tiff-dev uclibc++-dev"
install="hylafax.post-install"
subpackages="$pkgname-doc"
source="ftp://ftp.hylafax.org/source/$pkgname-$pkgver.tar.gz
$install
@ -42,7 +42,7 @@ build() {
--with-PATH_EGETTY=/bin/false \
--with-PATH_VGETTY=/bin/false \
|| return 1
make || return 1
make -j1 || return 1
# this makefile has issues installing, it doesn't use the standard
# install - but the following seems to work
@ -76,4 +76,4 @@ build() {
}
md5sums="4beb3d438ca6c4f00f1d94f9643e6668 hylafax-4.4.4.tar.gz
bd8760735baeb618b8bd6d6488bb91ac hylafax.install"
a3553e6fc4de30e80759abe5c663c85b hylafax.post-install"

View File

@ -1,31 +0,0 @@
#!/bin/sh
case "$1" in
pre_install)
# add something which happends before install
# $2 contains package version
;;
post_install)
# add something which happends after install
# $2 contains package version
echo Please run faxsetup to configure hylafax
;;
pre_upgrade)
# add something which happends before update
# $2 contains new package version
# $3 contains old package version
;;
post_upgrade)
# add something which happends after update
# $2 contains new package version
# $3 contains old package version
;;
pre_deinstall)
# add something which happends before delete
# $2 contains package version
;;
post_deinstall)
# add something which happends after delete
# $2 contains package version
;;
esac

View File

@ -0,0 +1,5 @@
#!/bin/sh
echo " *"
echo " * Please run faxsetup to configure hylafax"
echo " *"