aboutsummaryrefslogtreecommitdiffstats
path: root/main/ksymoops/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/ksymoops/APKBUILD')
-rw-r--r--main/ksymoops/APKBUILD19
1 files changed, 7 insertions, 12 deletions
diff --git a/main/ksymoops/APKBUILD b/main/ksymoops/APKBUILD
index 6edb92c4f5..8e70620b45 100644
--- a/main/ksymoops/APKBUILD
+++ b/main/ksymoops/APKBUILD
@@ -3,31 +3,26 @@ pkgname=ksymoops
pkgver=2.4.11
pkgrel=7
pkgdesc="A Linux kernel Oops file troubleshooting tool"
-url="ftp://ftp.kernel.org/pub/linux/utils/kernel/ksymoops/v2.4"
+url="https://kernel.org/pub/linux/utils/kernel/ksymoops/v2.4"
arch="all"
license="GPL2"
depends=""
makedepends="binutils-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
-}
+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"
+ 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"
+ cd "$builddir"
make install \
INSTALL=install \
INSTALL_PREFIX="$pkgdir"/usr \