aboutsummaryrefslogtreecommitdiffstats
path: root/main/cryptsetup
diff options
context:
space:
mode:
authorDubiousjim <dubiousjim@gmail.com>2013-06-27 02:12:04 -0400
committerNatanael Copa <ncopa@alpinelinux.org>2013-06-28 06:57:05 +0000
commit6c2e0fbd5f8caff20d083046b8ece5a836cd3b53 (patch)
treee173994e5e16342b4a2e164509baa8ac754a79dc /main/cryptsetup
parentb18b6f773ebca0b87f29307f6316d897590af61a (diff)
downloadaports-6c2e0fbd5f8caff20d083046b8ece5a836cd3b53.tar.bz2
aports-6c2e0fbd5f8caff20d083046b8ece5a836cd3b53.tar.xz
main/cryptsetup: fix location of .pc file
Currently cryptsetup is installing its .pc file in /lib/pkgconfig; however, our main/pkgconf is not looking in that folder. This patch moves the .pc file from /lib/pkgconfig to /usr/lib/pkgconfig, as main/procps also does. (Alternatively, we might instead patch main/pkgconf to include /lib/pkgconfig in its default PKG_CONFIG_PATH.)
Diffstat (limited to 'main/cryptsetup')
-rw-r--r--main/cryptsetup/APKBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/main/cryptsetup/APKBUILD b/main/cryptsetup/APKBUILD
index 96ddee172a..1c4fe7bc1b 100644
--- a/main/cryptsetup/APKBUILD
+++ b/main/cryptsetup/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cryptsetup
pkgver=1.6.1
-pkgrel=0
+pkgrel=1
pkgdesc="Userspace setup tool for transparent encryption of block devices using the Linux 2.6 cryptoapi"
url="http://code.google.com/p/cryptsetup/"
arch="all"
@@ -25,7 +25,9 @@ build() {
package() {
cd "$srcdir"/$pkgname-$pkgver
make DESTDIR=$pkgdir install || return 1
- rm "$pkgdir"/lib/*.la
+ rm "$pkgdir"/lib/*.la || return 1
+ mkdir -p "$pkgdir"/usr/lib
+ mv "$pkgdir"/lib/pkgconfig "$pkgdir"/usr/lib/
}
libs() {