summaryrefslogtreecommitdiffstats
path: root/main/libmcrypt/APKBUILD
blob: f97b8a6cdc7e8f43409696dbaee43f8d7b9bc961 (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
# Contributor: Carlo Landmeter <clandmeter at gmail>
# Maintainer: Carlo Landmeter <clandmeter at gmail>
pkgname=libmcrypt
pkgver=2.5.8
pkgrel=2
pkgdesc="A library which provides a uniform interface to several symmetric encryption algorithms"
url="http://mcrypt.sourceforge.net/"
license="GPL"
depends=""
makedepends="libtool uclibc++-dev"
install=
subpackages="$pkgname-doc $pkgname-dev"
source="http://downloads.sourceforge.net/mcrypt/${pkgname}-${pkgver}.tar.bz2"

build() {
	cd "$srcdir/$pkgname-$pkgver"

	./configure --prefix=/usr \
		--mandir=/usr/share/man 
	make || return 1
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make DESTDIR="$pkgdir" install
}

md5sums="c4f491dd411a09e9de3b8702ea6f73eb  libmcrypt-2.5.8.tar.bz2"