3
0
Fork 0
forked from mirrors/nixpkgs

opensc: 0.13.0 -> 0.14.0

This commit is contained in:
William A. Kennington III 2015-03-03 14:27:19 -08:00
parent d6ed3570b0
commit 4db81f081b

View file

@ -1,36 +1,46 @@
{ stdenv, fetchurl, libtool, readline, zlib, openssl, libiconv, pcsclite
, libassuan1, pkgconfig, libXt, docbook_xsl, libxslt, docbook_xml_dtd_412
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, zlib, readline, openssl
, libiconv, pcsclite, libassuan1, libXt
, docbook_xsl, libxslt, docbook_xml_dtd_412
}:
stdenv.mkDerivation rec {
name = "opensc-0.13.0";
name = "opensc-${version}";
version = "0.14.0";
src = fetchurl {
url = "mirror://sourceforge/opensc/${name}.tar.gz";
sha256 = "054v11yc2lqlfqs556liw18klhkx9zyjylqcwirk4axiafp4dpmb";
src = fetchFromGitHub {
owner = "OpenSC";
repo = "OpenSC";
rev = version;
sha256 = "02q3rndcfd7lga1ph0xcl556rgigzpp9bpwqyn42rfbx8lll7gzv";
};
buildInputs = [ libtool readline zlib openssl pcsclite libassuan1 pkgconfig
postPatch = ''
sed -i 's,$(DESTDIR),$(out),g' etc/Makefile.am
'';
buildInputs = [
autoreconfHook pkgconfig zlib readline openssl pcsclite libassuan1
libXt libxslt libiconv docbook_xml_dtd_412
];
configureFlags = [
"--enable-doc"
"--enable-man"
"--enable-zlib"
"--enable-readline"
"--enable-openssl"
"--enable-pcsc"
"--enable-readline"
"--enable-sm"
"--enable-zlib"
"--with-pcsc-provider=${pcsclite}/lib/libpcsclite.so.1"
"--enable-man"
"--enable-doc"
"--localstatedir=/var"
"--sysconfdir=/etc"
"--with-xsl-stylesheetsdir=${docbook_xsl}/xml/xsl/docbook"
];
meta = {
meta = with stdenv.lib; {
description = "Set of libraries and utilities to access smart cards";
homepage = "https://github.com/OpenSC/OpenSC/wiki";
license = stdenv.lib.licenses.lgpl21Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
homepage = https://github.com/OpenSC/OpenSC/wiki;
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ viric wkennington ];
platforms = platforms.all;
};
}