blob: a9a8ca301d316b7558fad248ebae516911a8261d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Maintainer: Jeff Bilyk <jbilyk@gmail.com>
pkgname=sendpage
pkgver=1.0.3
_pkgver=1.000003
pkgrel=6
pkgdesc="SNPP server, client, queueing engine, modem control and TAP system"
url="http://www.sendpage.org"
arch="noarch"
license="GPL"
depends="perl-mailtools perl-net-snpp perl-device-serialport
perl-dbi perl-sys-hostname-long perl-test-mockobject"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$_pkgver.tar.gz"
builddir="$srcdir/sendpage-$_pkgver"
options="!check"
build() {
perl ./Makefile.PL \
PREFIX="/usr" \
INSTALLSITELIB="/usr/lib/perl5/vendor_perl"
make
}
package() {
make DESTDIR="$pkgdir" install
# Remove useless folder, since it has nothing of value in it
rm -r "$pkgdir"/usr/local
# Prevent perl file collisions
find "$pkgdir" -name perllocal.pod -delete
}
sha512sums="
d2ebf5332529baca94ab6de91556600a881d99991355915cfd373f658a0e8ba5d8322518f4ec39351f21f3e561c2c32d784159bc856969c05a306f1754767235 sendpage-1.000003.tar.gz
"
|