mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
33 lines
1 KiB
Bash
33 lines
1 KiB
Bash
# Contributor: Kiril Zyapkov <kiril.zyapkov@gmail.com>
|
|
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:
|