blob: 6027eff703ad98349570b8047078bfdb5fc5a891 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ksymoops
pkgver=2.4.11
pkgrel=7
pkgdesc="A Linux kernel Oops file troubleshooting tool"
url="https://kernel.org/pub/linux/utils/kernel/ksymoops/v2.4"
arch="all"
license="GPL-2.0"
depends=""
makedepends="binutils-dev"
subpackages="$pkgname-doc"
source="https://kernel.org/pub/linux/utils/kernel/$pkgname/v${pkgver%.*}/$pkgname-$pkgver.tar.gz
$pkgname-$pkgver-build.patch
"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
# see https://sourceware.org/bugzilla/show_bug.cgi?id=14243
# we abuse DEBUG variable which is added to CFLAGS
make DEBUG="$CFLAGS -DPACKAGE -DPACKAGE_VERSION" || return 1
}
package() {
cd "$builddir"
make install \
INSTALL=install \
INSTALL_PREFIX="$pkgdir"/usr \
INSTALL_MANDIR="$pkgdir"/usr/share/man
}
md5sums="d281a723e67137e8d2185b75acc92721 ksymoops-2.4.11.tar.gz
bad82d31c7d15431fc022be237791d59 ksymoops-2.4.11-build.patch"
sha256sums="e16b50097e0ef258c76c73c7794cbd8b45f77c6e93b2087657bdb67e2e9ff56b ksymoops-2.4.11.tar.gz
fbf08bc3b23ceb8e27f88ca74ce2a4f936dcc0a6da925be34de322bf744b0fc0 ksymoops-2.4.11-build.patch"
sha512sums="4b1055e03f83f9d433af0427234c24ea81f2718b242f234c4e058033089e13f4ac972064835d516686f4a5ad760618aa741b6be2c97df89eff52141d14af64ac ksymoops-2.4.11.tar.gz
1d72c79847435850b12912bae602fd560a44604ea8c4960744668fe7726bbddc25b6d10cd6ec2f0078ddb9a378400d03f04ba50ae380de0051998245e011cb00 ksymoops-2.4.11-build.patch"
|