Skip to content

Instantly share code, notes, and snippets.

@kasbah
Created April 17, 2013 17:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kasbah/5406196 to your computer and use it in GitHub Desktop.
Save kasbah/5406196 to your computer and use it in GitHub Desktop.
pkgname=srecord
pkgver=1.61
pkgrel=1
pkgdesc="The SRecord package is a collection of powerful tools for manipulating EPROM load files."
arch=('i686' 'x86_64')
license=('GPL')
makedepends=('boost')
url="http://srecord.sourceforge.net"
source=("${url}/${pkgname}-${pkgver}.tar.gz")
# broken makefile has race conditions, remove "-j"
options=('!makeflags')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr || return 1
make || return 1
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR="$pkgdir" install || return 1
}
md5sums=('e507042531fc2a748d3ed985c7ffb40c')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment