summaryrefslogtreecommitdiff
path: root/cryptsetup
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@crux.nu>2011-01-15 09:53:56 +0100
committerTilman Sauerbeck <tilman@crux.nu>2011-01-15 09:54:24 +0100
commit19a877f9e3106ee367c09cccf4d62096b9352749 (patch)
treea70c621c45b088bbd71e8e921d46221880e159d0 /cryptsetup
parenta66e474156d2bd9a5e988fa8eae9a6cc183b8333 (diff)
downloadopt-19a877f9e3106ee367c09cccf4d62096b9352749.tar.gz
opt-19a877f9e3106ee367c09cccf4d62096b9352749.tar.xz
cryptsetup: link /sbin/cryptsetup.static statically for real.
Diffstat (limited to 'cryptsetup')
-rw-r--r--cryptsetup/.footprint1
-rw-r--r--cryptsetup/Pkgfile10
2 files changed, 6 insertions, 5 deletions
diff --git a/cryptsetup/.footprint b/cryptsetup/.footprint
index a6529e298..4d68bb85c 100644
--- a/cryptsetup/.footprint
+++ b/cryptsetup/.footprint
@@ -4,6 +4,7 @@ drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/include/
-rw-r--r-- root/root usr/include/libcryptsetup.h
drwxr-xr-x root/root usr/lib/
+-rw-r--r-- root/root usr/lib/libcryptsetup.a
-rwxr-xr-x root/root usr/lib/libcryptsetup.la
lrwxrwxrwx root/root usr/lib/libcryptsetup.so -> libcryptsetup.so.1.1.0
lrwxrwxrwx root/root usr/lib/libcryptsetup.so.1 -> libcryptsetup.so.1.1.0
diff --git a/cryptsetup/Pkgfile b/cryptsetup/Pkgfile
index dc39ef0c7..803028271 100644
--- a/cryptsetup/Pkgfile
+++ b/cryptsetup/Pkgfile
@@ -5,7 +5,7 @@
name=cryptsetup
version=1.2.0
-release=1
+release=2
source=(http://$name.googlecode.com/files/$name-$version.tar.bz2)
build() {
@@ -14,11 +14,11 @@ build() {
./configure \
--prefix=/usr \
--mandir=/usr/man \
- --disable-nls
+ --disable-nls \
+ --enable-static-cryptsetup
make
make DESTDIR=$PKG install
- ./configure --prefix=/usr --enable-static
- make
- install -D -m 755 src/cryptsetup $PKG/sbin/cryptsetup.static
+ install -d $PKG/sbin
+ mv $PKG/{usr/sbin,sbin}/cryptsetup.static
}

Generated by cgit