blob: edb9aefe41ea51ace9c729d3e13b3f8f7f7ac6cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer: Jozef Riha <jose1711 at gmail dot com>
# Contributor: fluke
# Contributor: thse
pkgname=libdes
pkgver=4.04b
pkgrel=4
pkgdesc="library for DES encryption"
arch=('i686' 'x86_64')
url="http://linux.maruhn.com/sec/libdes.html"
license=('custom')
depends=('glibc')
source=(ftp://ftp.kfki.hu/pub/packages/security/ssh/ossh/libdes-4.04b.tar.gz 64bit.patch)
md5sums=('c8d5c69f86c2eedb485583b0305284a1'
'ff48812c1fe870603bf73d441fa6a2e8')
build() {
cd $srcdir/des
if [ $CARCH = 'x86_64' ]
then
patch -p0 <$srcdir/64bit.patch
fi
make
}
package() {
# do NOT include man3 (to avoid conflict with des_crypt.3)
mkdir -p $pkgdir/usr/lib $pkgdir/usr/bin $pkgdir/usr/include $pkgdir/usr/share/man/man1
cd $srcdir/des
make LIBDIR=$pkgdir/usr/lib BINDIR=$pkgdir/usr/bin INCDIR=$pkgdir/usr/include MANDIR=$pkgdir/usr/share/man install
}
|