diff options
author | Jeff Bilyk <jbilyk@gmail.com> | 2011-04-07 20:03:51 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2011-04-07 23:57:19 +0000 |
commit | a6c3d43084215d86a3420cf1d6003bf8ea81941d (patch) | |
tree | d5c6436de173487bc7843c6b8ef93d481ce0ea48 /main/sendpage | |
parent | 34f69bb7ca1f65d63a9d37a65423bc07b3d5c6ff (diff) | |
download | aports-a6c3d43084215d86a3420cf1d6003bf8ea81941d.tar.bz2 aports-a6c3d43084215d86a3420cf1d6003bf8ea81941d.tar.xz |
main/sendpage: moved from testing
Diffstat (limited to 'main/sendpage')
-rw-r--r-- | main/sendpage/APKBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/main/sendpage/APKBUILD b/main/sendpage/APKBUILD new file mode 100644 index 0000000000..4fa3e3fcbe --- /dev/null +++ b/main/sendpage/APKBUILD @@ -0,0 +1,46 @@ +# Maintainer: Jeff Bilyk <jbilyk@gmail.com> +pkgname=sendpage +pkgver=1.0.3 +_pkgver=1.000003 +pkgrel=1 +pkgdesc="SNPP server, client, queueing engine, modem control and TAP system" +url="http://www.sendpage.org" +arch="noarch" +license="GPL" +depends= +makedepends="perl-dev perl-mail-tools perl-net-snpp perl-device-serialport + perl-dbi perl-sys-hostname-long perl-test-mockobject" +install="" +subpackages="$pkgname-doc" +source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$_pkgver.tar.gz" + +_builddir="$srcdir"/$pkgname-$_pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + perl ./Makefile.PL \ + PREFIX="/usr" \ + INSTALLSITELIB="/usr/lib/perl5/site_perl" \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + # 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 +} + +md5sums="586afe41d6cd82d045fdc34ccf99cab3 sendpage-1.000003.tar.gz" |