diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-03-10 09:12:06 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-03-10 09:12:06 +0000 |
commit | cd3cb35b4084a34da58d4fb446c8980d135ec4fb (patch) | |
tree | 6aa2f34fb03424d64326745a0d1b3b83352ec8f4 /testing/hylafax | |
parent | 2ec62de0940d689a5b8277974bf26b8731171337 (diff) | |
download | aports-cd3cb35b4084a34da58d4fb446c8980d135ec4fb.tar.bz2 aports-cd3cb35b4084a34da58d4fb446c8980d135ec4fb.tar.xz |
testing/hylafax: add uclibc++ to depends. new style install script
Diffstat (limited to 'testing/hylafax')
-rw-r--r-- | testing/hylafax/APKBUILD | 10 | ||||
-rw-r--r-- | testing/hylafax/hylafax.install | 31 | ||||
-rw-r--r-- | testing/hylafax/hylafax.post-install | 5 |
3 files changed, 10 insertions, 36 deletions
diff --git a/testing/hylafax/APKBUILD b/testing/hylafax/APKBUILD index 8c10c504..155caa0c 100644 --- a/testing/hylafax/APKBUILD +++ b/testing/hylafax/APKBUILD @@ -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" diff --git a/testing/hylafax/hylafax.install b/testing/hylafax/hylafax.install deleted file mode 100644 index 6e80da28..00000000 --- a/testing/hylafax/hylafax.install +++ /dev/null @@ -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 diff --git a/testing/hylafax/hylafax.post-install b/testing/hylafax/hylafax.post-install new file mode 100644 index 00000000..839f96f5 --- /dev/null +++ b/testing/hylafax/hylafax.post-install @@ -0,0 +1,5 @@ +#!/bin/sh + +echo " *" +echo " * Please run faxsetup to configure hylafax" +echo " *" |