32 lines
861 B
Bash
32 lines
861 B
Bash
# Template file for 'libmcrypt'
|
|
pkgname=libmcrypt
|
|
version=2.5.8
|
|
revision=4
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool libltdl-devel"
|
|
short_desc="A data encryption library"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://mcrypt.sourceforge.net/"
|
|
distfiles="${SOURCEFORGE_SITE}/mcrypt/$pkgname-$version.tar.bz2"
|
|
checksum=bf2f1671f44af88e66477db0982d5ecb5116a5c767b0a0d68acb34499d41b793
|
|
|
|
pre_configure() {
|
|
sed 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' \
|
|
configure.in >configure.ac
|
|
sed 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' \
|
|
libltdl/configure.in >libltdl/configure.ac
|
|
autoreconf -fi
|
|
}
|
|
|
|
libmcrypt-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/bin
|
|
vmove usr/share
|
|
}
|
|
}
|