mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-11 19:02:42 +01:00
38 lines
1.0 KiB
Plaintext
38 lines
1.0 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=ksymoops
|
|
pkgver=2.4.11
|
|
pkgrel=5
|
|
pkgdesc="A Linux kernel Oops file troubleshooting tool"
|
|
url="ftp://ftp.kernel.org/pub/linux/utils/kernel/ksymoops/v2.4"
|
|
arch="all"
|
|
license="GPL-2"
|
|
depends=""
|
|
makedepends="!gettext-dev !libiconv-dev"
|
|
source="http://ftp.kernel.org/pub/linux/utils/kernel/ksymoops/v2.4/ksymoops-$pkgver.tar.gz
|
|
$pkgname-2.4.11-build.patch
|
|
"
|
|
subpackages="$pkgname-doc"
|
|
|
|
_builddir="$srcdir/$pkgname-$pkgver"
|
|
prepare() {
|
|
cd "$_builddir"
|
|
patch -p1 < "$srcdir"/$pkgname-2.4.11-build.patch || return 1
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
# see http://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"
|