From b70981b68efcce5256eb11c6cd26ae123b10b6ea Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 24 Jul 2009 08:01:31 +0000 Subject: moved extra/* to main/ and fixed misc build issues --- main/ksymoops/APKBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 main/ksymoops/APKBUILD (limited to 'main/ksymoops/APKBUILD') diff --git a/main/ksymoops/APKBUILD b/main/ksymoops/APKBUILD new file mode 100644 index 000000000..d8cc04fdf --- /dev/null +++ b/main/ksymoops/APKBUILD @@ -0,0 +1,25 @@ +# Maintainer: Natanael Copa +pkgname=ksymoops +pkgver=2.4.11 +pkgrel=0 +pkgdesc="A Linux kernel Oops file troubleshooting tool" +url="ftp://ftp.kernel.org/pub/linux/utils/kernel/ksymoops/v2.4" +license="GPL-2" +depends="uclibc" +makedepends="!gettext !libiconv" +source="ftp://ftp.kernel.org/pub/linux/utils/kernel/$pkgname/v2.4/$pkgname-$pkgver.tar.bz2 + $pkgname-2.4.11-build.patch + " +subpackages="$pkgname-doc" + +build () +{ + cd "$srcdir/$pkgname-$pkgver" + patch -p1 < ../$pkgname-2.4.11-build.patch || return 1 + make || return 1 + make install \ + INSTALL_PREFIX="$pkgdir"/usr \ + INSTALL_MANDIR="$pkgdir"/usr/share/man +} +md5sums="4a8249e182a5dbc75e566d162e9f3314 ksymoops-2.4.11.tar.bz2 +bad82d31c7d15431fc022be237791d59 ksymoops-2.4.11-build.patch" -- cgit v1.2.3 From cff79a00ec4dc26a3caa16c174a07a3948da4810 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 4 May 2010 08:19:59 +0000 Subject: main/[various]: let abuild detect shared objects dependencies --- main/ksymoops/APKBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/ksymoops/APKBUILD') diff --git a/main/ksymoops/APKBUILD b/main/ksymoops/APKBUILD index d8cc04fdf..447363849 100644 --- a/main/ksymoops/APKBUILD +++ b/main/ksymoops/APKBUILD @@ -5,7 +5,7 @@ pkgrel=0 pkgdesc="A Linux kernel Oops file troubleshooting tool" url="ftp://ftp.kernel.org/pub/linux/utils/kernel/ksymoops/v2.4" license="GPL-2" -depends="uclibc" +depends="" makedepends="!gettext !libiconv" source="ftp://ftp.kernel.org/pub/linux/utils/kernel/$pkgname/v2.4/$pkgname-$pkgver.tar.bz2 $pkgname-2.4.11-build.patch -- cgit v1.2.3 From b4eecaf058de2e73819dff5e48cdbcf1eb3612ba Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 4 May 2010 08:26:51 +0000 Subject: main/[various]: bump pkgrel to force rebuild against nptl --- main/ksymoops/APKBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/ksymoops/APKBUILD') diff --git a/main/ksymoops/APKBUILD b/main/ksymoops/APKBUILD index 447363849..9653627d6 100644 --- a/main/ksymoops/APKBUILD +++ b/main/ksymoops/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa pkgname=ksymoops pkgver=2.4.11 -pkgrel=0 +pkgrel=1 pkgdesc="A Linux kernel Oops file troubleshooting tool" url="ftp://ftp.kernel.org/pub/linux/utils/kernel/ksymoops/v2.4" license="GPL-2" -- cgit v1.2.3 From da49ad32c469ea4e9426a6ac6d8c2e1db97edda6 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Mon, 13 Dec 2010 16:00:16 +0000 Subject: main/*: add arch --- main/ksymoops/APKBUILD | 1 + 1 file changed, 1 insertion(+) (limited to 'main/ksymoops/APKBUILD') diff --git a/main/ksymoops/APKBUILD b/main/ksymoops/APKBUILD index 9653627d6..63bd73130 100644 --- a/main/ksymoops/APKBUILD +++ b/main/ksymoops/APKBUILD @@ -4,6 +4,7 @@ pkgver=2.4.11 pkgrel=1 pkgdesc="A Linux kernel Oops file troubleshooting tool" url="ftp://ftp.kernel.org/pub/linux/utils/kernel/ksymoops/v2.4" +arch="x86 x86_64" license="GPL-2" depends="" makedepends="!gettext !libiconv" -- cgit v1.2.3 From ba2600dc6ebad7a01bc96e7e01ad75ae4573d391 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Thu, 13 Jan 2011 06:05:19 -0600 Subject: Set all packages with arch="x86 x86_64" to arch="all". --- main/ksymoops/APKBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/ksymoops/APKBUILD') diff --git a/main/ksymoops/APKBUILD b/main/ksymoops/APKBUILD index 63bd73130..397ae3cac 100644 --- a/main/ksymoops/APKBUILD +++ b/main/ksymoops/APKBUILD @@ -4,7 +4,7 @@ pkgver=2.4.11 pkgrel=1 pkgdesc="A Linux kernel Oops file troubleshooting tool" url="ftp://ftp.kernel.org/pub/linux/utils/kernel/ksymoops/v2.4" -arch="x86 x86_64" +arch="all" license="GPL-2" depends="" makedepends="!gettext !libiconv" -- cgit v1.2.3 From 4ff65ef29982e116527adebdd7ad73a05719712a Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 31 Mar 2011 13:43:08 +0000 Subject: main: mass-rebuild of packages missing arch in .PKGINFO this is needed for apk-tools-2.1 migration --- main/ksymoops/APKBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/ksymoops/APKBUILD') diff --git a/main/ksymoops/APKBUILD b/main/ksymoops/APKBUILD index 397ae3cac..2e1a95dd8 100644 --- a/main/ksymoops/APKBUILD +++ b/main/ksymoops/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa pkgname=ksymoops pkgver=2.4.11 -pkgrel=1 +pkgrel=2 pkgdesc="A Linux kernel Oops file troubleshooting tool" url="ftp://ftp.kernel.org/pub/linux/utils/kernel/ksymoops/v2.4" arch="all" -- cgit v1.2.3 From 5d0a8bbb6f6fae30060f7a159ba68c31745dd477 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 31 Mar 2011 16:48:11 +0000 Subject: main/ksymoops: use http source instead of ftp + build cleanup/fix --- main/ksymoops/APKBUILD | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) (limited to 'main/ksymoops/APKBUILD') diff --git a/main/ksymoops/APKBUILD b/main/ksymoops/APKBUILD index 2e1a95dd8..09411308d 100644 --- a/main/ksymoops/APKBUILD +++ b/main/ksymoops/APKBUILD @@ -1,24 +1,33 @@ # Maintainer: Natanael Copa pkgname=ksymoops pkgver=2.4.11 -pkgrel=2 +pkgrel=3 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 !libiconv" -source="ftp://ftp.kernel.org/pub/linux/utils/kernel/$pkgname/v2.4/$pkgname-$pkgver.tar.bz2 +source="http://ftp.kernel.org/pub/linux/utils/kernel/$pkgname/v2.4/$pkgname-$pkgver.tar.bz2 $pkgname-2.4.11-build.patch " subpackages="$pkgname-doc" -build () -{ - cd "$srcdir/$pkgname-$pkgver" - patch -p1 < ../$pkgname-2.4.11-build.patch || return 1 +_builddir="$srcdir/$pkgname-$pkgver" +prepare() { + cd "$_builddir" + patch -p1 < "$srcdir"/$pkgname-2.4.11-build.patch || return 1 +} + +build() { + cd "$_builddir" make || return 1 +} + +package() { + cd "$_builddir" make install \ + INSTALL=install \ INSTALL_PREFIX="$pkgdir"/usr \ INSTALL_MANDIR="$pkgdir"/usr/share/man } -- cgit v1.2.3