aboutsummaryrefslogtreecommitdiffstats
path: root/extra/iaxmodem/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-03-26 07:29:20 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-03-26 07:29:20 +0000
commit8d9d321723fe5361d0886f9f8f66801c1f11b0b3 (patch)
tree31f9b8ef19aba6c556c8693b540cf36dcd08a1e2 /extra/iaxmodem/APKBUILD
parentfca47e285578f054bb787016e33b505d4dc78512 (diff)
downloadaports-8d9d321723fe5361d0886f9f8f66801c1f11b0b3.tar.bz2
aports-8d9d321723fe5361d0886f9f8f66801c1f11b0b3.tar.xz
extra/iaxmodem: move to /usr/sbin. remove useless c++ checks
and remove unused c++ from depends
Diffstat (limited to 'extra/iaxmodem/APKBUILD')
-rw-r--r--extra/iaxmodem/APKBUILD23
1 files changed, 12 insertions, 11 deletions
diff --git a/extra/iaxmodem/APKBUILD b/extra/iaxmodem/APKBUILD
index ff1e42b5f4..f1f2b21c3a 100644
--- a/extra/iaxmodem/APKBUILD
+++ b/extra/iaxmodem/APKBUILD
@@ -2,23 +2,27 @@
# Maintainer: Cameron Banta <cbanta@gmail.com>
pkgname=iaxmodem
pkgver=1.2.0
-pkgrel=0
+pkgrel=1
pkgdesc="Softmodem for hylafax that connects to VOIP gateway with IAX"
url="http://iaxmodem.sourceforge.net/"
license="GPL"
-depends="uclibc tiff uclibc++"
-makedepends="tiff-dev uclibc++-dev"
+depends="uclibc tiff"
+makedepends="tiff-dev"
install=
subpackages="$pkgname-doc"
-source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
+source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
+ nocxx.patch"
build() {
cd "$srcdir/$pkgname-$pkgver"
- export CXX=g++-uc
+
+ # purge usless C++ check
+ patch lib/libiax2/configure < ../nocxx.patch || return 1
+
./configure
make || return 1
install -m755 -s -D "$srcdir/$pkgname-$pkgver/iaxmodem" \
- "$pkgdir/sbin/iaxmodem"
+ "$pkgdir/usr/sbin/iaxmodem"
mkdir -p "$pkgdir/etc/iaxmodem"
mkdir -p "$pkgdir/var/log/iaxmodem"
@@ -44,10 +48,7 @@ build() {
install -m644 -D "$srcdir/$pkgname-$pkgver/config.ttyIAX" \
"$pkgdir/usr/share/doc/$pkgname/config.ttyIAX"
- # install -m755 -D "$srcdir"/$pkgname.initd \
- # "$pkgdir"/etc/init.d/$pkgname
- # install -m644 -D "$srcdir"/$pkgname.confd \
- # "$pkgdir"/etc/conf.d/$pkgname
}
-md5sums="f8b26cfeed188e5c1dcbc5ae5ef923b3 iaxmodem-1.2.0.tar.gz"
+md5sums="f8b26cfeed188e5c1dcbc5ae5ef923b3 iaxmodem-1.2.0.tar.gz
+28513788ba4d556ccd538867dc6205ab nocxx.patch"