mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
add back alarm/elftosb
This commit is contained in:
parent
2a734b61c1
commit
487b00851f
1 changed files with 36 additions and 0 deletions
36
alarm/elftosb/PKGBUILD
Normal file
36
alarm/elftosb/PKGBUILD
Normal file
|
@ -0,0 +1,36 @@
|
|||
# Contributor: Kiril Zyapkov <kiril.zyapkov@gmail.com>
|
||||
|
||||
buildarch=2
|
||||
|
||||
pkgname=elftosb
|
||||
pkgver=10.12.01
|
||||
pkgrel=1
|
||||
pkgdesc="Helper utility for freescale imx platforms"
|
||||
arch=(arm)
|
||||
url="http://freescale.com"
|
||||
license=('MIT')
|
||||
makedepends=()
|
||||
source=(
|
||||
"http://repository.timesys.com/buildsources/e/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz"
|
||||
"http://repository.timesys.com/buildsources/e/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver-libm.patch")
|
||||
md5sums=(
|
||||
'e8005d606c1e0bb3507c82f6eceb3056'
|
||||
'b4b758eb116914e284d6d12872948131')
|
||||
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
patch -p1 < ../$pkgname-$pkgver-libm.patch
|
||||
make all
|
||||
}
|
||||
|
||||
package() {
|
||||
mkdir -p $pkgdir/usr/local/bin
|
||||
install -D -m 755 $srcdir/$pkgname-$pkgver/bld/linux/elftosb $pkgdir/usr/local/bin/ || return 1
|
||||
install -D -m 755 $srcdir/$pkgname-$pkgver/bld/linux/keygen $pkgdir/usr/local/bin/ || return 1
|
||||
install -D -m 755 $srcdir/$pkgname-$pkgver/bld/linux/sbtool $pkgdir/usr/local/bin/ || return 1
|
||||
cd $pkgdir/usr/local/bin
|
||||
ln -sf elftosb elftosb2
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
Loading…
Reference in a new issue