Commit 7a2ada76 authored by Valery Kartel's avatar Valery Kartel Committed by Timo Teräs

main/ksymoops: change 'url' to http

Switch to http, because kernel.org
will shut down their ftp service at March 1st.

- fix source hostname
- cleanups in apkbuild
parent 977b4f4f
......@@ -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 \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment