aboutsummaryrefslogtreecommitdiffstats
path: root/main/apr/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-08-03 08:09:33 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-08-03 08:16:49 +0000
commit954fe867c9faa9e8e4e9e6ce5cf48dfadb13b01f (patch)
treefe004e8060c98bfd305384a95d66caee92bb80ba /main/apr/APKBUILD
parent0f6ccc88180fb164c71477148e23de00d4a09535 (diff)
downloadaports-954fe867c9faa9e8e4e9e6ce5cf48dfadb13b01f.tar.bz2
aports-954fe867c9faa9e8e4e9e6ce5cf48dfadb13b01f.tar.xz
main/apr: fix depends for -dev package
Diffstat (limited to 'main/apr/APKBUILD')
-rw-r--r--main/apr/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/apr/APKBUILD b/main/apr/APKBUILD
index 020564ec6f..75ce230a95 100644
--- a/main/apr/APKBUILD
+++ b/main/apr/APKBUILD
@@ -1,12 +1,13 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=apr
pkgver=1.4.2
-pkgrel=2
+pkgrel=3
pkgdesc="The Apache Portable Runtime"
url="http://apr.apache.org/"
license="APACHE"
depends=
makedepends="util-linux-ng-dev"
+depends_dev="util-linux-ng-dev"
subpackages="$pkgname-dev"
source="http://www.apache.org/dist/$pkgname/$pkgname-$pkgver.tar.bz2"
@@ -29,7 +30,7 @@ package() {
# we override the pre-defined func.
dev() {
local i
- depends="$pkgname"
+ depends="$pkgname $depends_dev"
mkdir -p "$subpkgdir"
mv "$pkgdir"/* "$subpkgdir"/
mkdir -p "$pkgdir"/usr/lib