diff options
author | Wijnand Modderman-Lenstra | 2015-06-15 16:54:02 +0200 |
---|---|---|
committer | Wijnand Modderman-Lenstra | 2015-06-15 16:54:02 +0200 |
commit | 8864b24504f4e0fc0b438b05db20a7615eae6999 (patch) | |
tree | c820e55fd58a62b00142c6af011a6e8733eaf5b4 | |
download | aur-8864b24504f4e0fc0b438b05db20a7615eae6999.tar.gz |
Migrated package
-rw-r--r-- | .SRCINFO | 24 | ||||
-rw-r--r-- | PKGBUILD | 51 | ||||
-rw-r--r-- | hamlib.ChangeLog.markdown | 6 |
3 files changed, 81 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2973b7e91225 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,24 @@ +pkgbase = hamlib + pkgdesc = Ham radio equipment control libraries + pkgver = 1.2.15.3 + pkgrel = 2 + url = http://hamlib.org + changelog = hamlib.ChangeLog.markdown + arch = i686 + arch = x86_64 + license = GPL + license = LGPL + makedepends = libtool + makedepends = swig + depends = perl + depends = python2 + depends = tcl + depends = libxml2 + depends = libusb + options = !emptydirs + source = http://downloads.sourceforge.net/project/hamlib/hamlib/1.2.15.3/hamlib-1.2.15.3.tar.gz + md5sums = 3cad8987e995a00e5e9d360e2be0eb43 + sha256sums = a2ca4549e4fd99d6e5600e354ebcb57502611aa63c6921c1b8a825289833f75e + +pkgname = hamlib + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ea62b80ab3df --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,51 @@ +# Maintainer: Wijnand Modderman-Lenstra <maze@pyth0n.org> +# Contributor: Vitaliy Berdinskikh <ur6lad@archlinux.org.ua> + +pkgname=hamlib +pkgver=1.2.15.3 +pkgrel=2 +pkgdesc="Ham radio equipment control libraries" +arch=('i686' 'x86_64') +url="http://hamlib.org" +license=('GPL' 'LGPL') +depends=('perl' 'python2' 'tcl' 'libxml2' 'libusb') +makedepends=('libtool' 'swig') +source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz) +options=('!emptydirs') +changelog=${pkgname}.ChangeLog.markdown + +build() { + export PYTHON=/usr/bin/python2 + + cd $srcdir + + cd $pkgname-$pkgver + + ./configure \ + --prefix=/usr \ + --sbindir=/usr/bin \ + --with-perl-binding \ + --with-python-binding \ + --enable-tcl-binding + + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + + make DESTDIR=$pkgdir install + + # fix perl module location + cd $pkgdir/usr/lib/perl5/site_perl/ + mkdir current/ + mv auto current + mv Hamlib.pm current + rm perltest.pl + + /usr/bin/find $pkgdir -name '.packlist' -delete + /usr/bin/find $pkgdir -name '*.pod' -delete +} + +md5sums=('3cad8987e995a00e5e9d360e2be0eb43') +sha256sums=('a2ca4549e4fd99d6e5600e354ebcb57502611aa63c6921c1b8a825289833f75e') diff --git a/hamlib.ChangeLog.markdown b/hamlib.ChangeLog.markdown new file mode 100644 index 000000000000..7438214bcc8a --- /dev/null +++ b/hamlib.ChangeLog.markdown @@ -0,0 +1,6 @@ +1.2.12-2 +--- +_Fri Mar 11 23:45:44 EET 2011 @948 /Internet Time/_ + +* Set of **python**'s version as 2.7 +* Fix **configure**: piece of checking python extra libraries |