mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
community/dietlibc to 0.33-5
This commit is contained in:
parent
eb237b4571
commit
1994bfd463
1 changed files with 15 additions and 13 deletions
|
@ -7,24 +7,26 @@
|
|||
|
||||
pkgname=dietlibc
|
||||
pkgver=0.33
|
||||
pkgrel=4
|
||||
pkgrel=5
|
||||
pkgdesc="a libc optimized for small size"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.fefe.de/dietlibc/"
|
||||
arch=('x86_64')
|
||||
url="https://www.fefe.de/dietlibc/"
|
||||
license=("GPL")
|
||||
options=('staticlibs')
|
||||
validpgpkeys=('878CBE5DA9A50595E674183F15396A7933EB059A')
|
||||
#source=(http://www.kernel.org/pub/linux/libs/dietlibc/$pkgname-$pkgver.tar.bz2)
|
||||
source=("http://www.fefe.de/dietlibc/dietlibc-$pkgver.tar.bz2"
|
||||
source=("https://www.fefe.de/dietlibc/dietlibc-$pkgver.tar.bz2"{,.sig}
|
||||
'0020-fixes-for-ARMv7.diff'
|
||||
'0027-fix-arm-mmap.diff'
|
||||
'0036-fix-jmp_buf-size-on-armhf.diff')
|
||||
md5sums=('9d541b9a6623b04ec12e5248b82db7c0'
|
||||
'5be4af2e186bce29c379854c9ad79551'
|
||||
'49d6be0a081e426ddf35ec1f67268930'
|
||||
'f9006823cf707723482811ceea0c1ed4')
|
||||
sha256sums=('68838893790ddd7a42bc1a06e5435054e1dc1914e4b53d2d6c92f603d3b315f5'
|
||||
'SKIP'
|
||||
'b50724cdbcccc37ce1cba9534c5e5cddd043422bbfbcf0a08b5d8e7f809ab472'
|
||||
'ba32b37f96ff41277e50054c24e3e6457b7493926f75c44aa3ed6d693f5e25d7'
|
||||
'8b408b8548946571390d0b8bed3068bcbd203ade0b2f8d94b3a190d4be114109')
|
||||
|
||||
build() {
|
||||
cd $srcdir/$pkgname-$pkgver
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
|
||||
# patches for hardfloat
|
||||
if [ "$CARCH" == 'armv7h' -o "$CARCH" == 'armv6h' ]; then
|
||||
|
@ -42,8 +44,8 @@ build() {
|
|||
}
|
||||
|
||||
package() {
|
||||
cd $srcdir/$pkgname-$pkgver
|
||||
make DESTDIR=$pkgdir install
|
||||
mkdir -p $pkgdir/usr/bin
|
||||
ln -s /opt/diet/bin/diet $pkgdir/usr/bin/diet
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
make DESTDIR="$pkgdir" install
|
||||
mkdir -p "$pkgdir/usr/bin"
|
||||
ln -s /opt/diet/bin/diet "$pkgdir/usr/bin/diet"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue