# ChangeLog for net-libs/osptoolkit
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/osptoolkit/ChangeLog,v 1.5 2006/10/06 22:53:41 wolf31o2 Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/osptoolkit/ChangeLog,v 1.6 2007/01/06 16:09:05 drizzt Exp $
+
+ 06 Jan 2007; Timothy Redaelli <drizzt@gentoo.org> osptoolkit-3.3.4.ebuild:
+ s/einfo/elog/
+ Misc ebuild cleanups
06 Oct 2006; Chris Gianelloni <wolf31o2@gentoo.org>
osptoolkit-3.3.4.ebuild:
Hash: SHA1
DIST OSPToolkit-3.3.4.tar.gz 411548 RMD160 edea882d926398b193868f48da17b19fce54396b SHA1 29e31729d7391dee7b2eca2317b3558e53e61cdc SHA256 66171b3cd725c5629f58a3111686d11ce038d3092d1e3b1858ebfe2620da514a
-EBUILD osptoolkit-3.3.4.ebuild 1473 RMD160 40322b9cf11e768813e831e66c16852b93ba7266 SHA1 0067efea884cb72de1534781f6cf75d171f9863b SHA256 5b66140d55845acd403d239b3b8a97c6c7903169090ed21f8269a5eeb6db2cb1
-MD5 45236b20f01c3feb980201385f588e80 osptoolkit-3.3.4.ebuild 1473
-RMD160 40322b9cf11e768813e831e66c16852b93ba7266 osptoolkit-3.3.4.ebuild 1473
-SHA256 5b66140d55845acd403d239b3b8a97c6c7903169090ed21f8269a5eeb6db2cb1 osptoolkit-3.3.4.ebuild 1473
-MISC ChangeLog 862 RMD160 16b44a8d035c056daac634f5257dd2912813c952 SHA1 13471894fa6f4aefa9aec360d5601d7cf92cd532 SHA256 79f9086eedf5caf2b458304e8d3beab327f9547867ae741e072349454329155f
-MD5 2487313c4a9629c6a1e299ba38b016af ChangeLog 862
-RMD160 16b44a8d035c056daac634f5257dd2912813c952 ChangeLog 862
-SHA256 79f9086eedf5caf2b458304e8d3beab327f9547867ae741e072349454329155f ChangeLog 862
+EBUILD osptoolkit-3.3.4.ebuild 1446 RMD160 5e3025a93f2c2b111e870213713ff0206ae9d5df SHA1 13974790feb0fc145d0e85dbc81b41387afdab05 SHA256 f277ab694dcc1b5367fbec64ebb1ae55c405ac88909a6b00c0e7554a911773ad
+MD5 2f85e9caf61c622b46ca7af938a579f9 osptoolkit-3.3.4.ebuild 1446
+RMD160 5e3025a93f2c2b111e870213713ff0206ae9d5df osptoolkit-3.3.4.ebuild 1446
+SHA256 f277ab694dcc1b5367fbec64ebb1ae55c405ac88909a6b00c0e7554a911773ad osptoolkit-3.3.4.ebuild 1446
+MISC ChangeLog 977 RMD160 fd4a338c49e02c7da53d4b5114989b681e19d260 SHA1 0c7f4434dd6ab5f05cfb2616dc616ac80d758180 SHA256 b987f1cbb3105ae2b317e414d187201d0fd23eb8540a71690f1796883b782825
+MD5 aaf3d4ffc67dd42c874ba95e9e9b7562 ChangeLog 977
+RMD160 fd4a338c49e02c7da53d4b5114989b681e19d260 ChangeLog 977
+SHA256 b987f1cbb3105ae2b317e414d187201d0fd23eb8540a71690f1796883b782825 ChangeLog 977
MISC metadata.xml 248 RMD160 a989fff0cebc82a58a75fb3a2eec8da0712ad57e SHA1 10bea6cd152e9f0ecb627eaacc19980a9d5f5dc4 SHA256 d0e3ab77a8a7b859511b8d5fda83dc018351e6367724b097dcc13c4aa0a3ee6b
MD5 44cf247f04cc83413fcb40ed59d0847a metadata.xml 248
RMD160 a989fff0cebc82a58a75fb3a2eec8da0712ad57e metadata.xml 248
RMD160 5c4c9246605601f236d960a9eb25e6e3e1b55946 files/digest-osptoolkit-3.3.4 250
SHA256 a662f0aecb100911313ae5e40f9d6eb0352a0ae3dd56ad8589b4e00e06be80a0 files/digest-osptoolkit-3.3.4 250
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5 (GNU/Linux)
+Version: GnuPG v2.0.1 (GNU/Linux)
-iD8DBQFFJt56kT4lNIS36YERAoX+AJ9axdriDLFgh0RdOGahPPpn9ip9UACglvmA
-iIe1vfFR16ri2hZrsKpC8gg=
-=udpl
+iD8DBQFFn8m0GDyatLGpTbYRAghUAJkB2B+/Wawe+gDd5wP4Uk/gmkWwpACeK5Yi
+iL9s9jboRQ5W9qwFZT+t3cI=
+=GKbY
-----END PGP SIGNATURE-----
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/osptoolkit/osptoolkit-3.3.4.ebuild,v 1.3 2006/10/06 22:53:41 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/osptoolkit/osptoolkit-3.3.4.ebuild,v 1.4 2007/01/06 16:09:05 drizzt Exp $
+
+inherit eutils
DESCRIPTION="OSP (Open Settlement Protocol) library"
HOMEPAGE="http://www.transnexus.com/"
IUSE=""
-RDEPEND="virtual/libc
- dev-libs/openssl"
-
+RDEPEND="dev-libs/openssl"
DEPEND="${RDEPEND}"
-S=${WORKDIR}/TK-${PV//./_}-20051103
+S="${WORKDIR}"/TK-${PV//./_}-20051103
src_unpack() {
unpack ${A}
- cd ${S}
+ cd "${S}"
sed -i -e "s:\$(INSTALL_PATH)/lib:\$(INSTALL_PATH)/\$(LIBDIR):" \
src/Makefile
}
src_compile() {
- cd ${S}/src
- emake build || die "emake libosp failed"
-
- cd ${S}/enroll
- emake linux || die "emake enroll failed"
-
- cd ${S}/test
- emake linux || die "emake test failed"
+ emake -C src build || die "emake libosp failed"
+ emake -C enroll linux || die "emake enroll failed"
+ emake -C test linux || die "emake test failed"
}
src_install() {
- dodir /usr/include /usr/lib
+ dodir /usr/include /usr/$(get_libdir)
- cd ${S}/src
- make INSTALL_PATH=${D}/usr LIBDIR=lib \
+ make -C src INSTALL_PATH="${D}"/usr LIBDIR=$(get_libdir) \
install || die "make install failed"
sed -i -e "s:^\(OPENSSL_CONF\).*:\1=/etc/ssl/openssl.cnf:" \
-e "s:^\(RANDFILE\).*:\1=/etc/ssl/.rnd:" \
- ${S}/bin/enroll.sh
+ bin/enroll.sh
- dosbin ${S}/bin/enroll*
- newbin ${S}/bin/test_app osp_test_app
+ dosbin bin/enroll*
+ newbin bin/test_app osp_test_app
- cd ${S}
dodoc *.txt
insinto /usr/share/doc/${PF}
}
pkg_postinst() {
- einfo "The OSP test application is located in ${ROOT}usr/bin/osp_test_app"
- einfo "See ${ROOT}usr/share/doc/${PF}/test.cfg for a sample test.cfg for osp_test_app"
+ elog "The OSP test application is located in ${ROOT}usr/bin/osp_test_app"
+ elog "See ${ROOT}usr/share/doc/${PF}/test.cfg for a sample test.cfg for osp_test_app"
}