net-libs/canlock: drop 3.2.2

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2022-04-17 20:03:17 +01:00
parent 3e7fbfb636
commit 4880006749
2 changed files with 0 additions and 49 deletions

View File

@@ -1,2 +1 @@
DIST libcanlock-3.2.2.tar.bz2 467561 BLAKE2B e332c379647c7ad3fbf5f0a8051b888be65674bcb2c9be1b689f009fd35eecbb29644d9f17aaa3812c9405283708207c6f220f630e0dd1c6a5508d41b85a6070 SHA512 3d194a37bdbdf640bb6996383ce988c9177573b6f84c29569d759308564c7636d98d5c267988bd034b33681f814400eb7fbecf78d90f54b126edb3bf384f928f
DIST libcanlock-3.3.0.tar.bz2 625796 BLAKE2B 001512a6d2d226aed93882de8d8f4f02a066cc67e6f21b411b8e1ee2ff0d4580732c90a6fc2756a79f992629cd18fbc319510960c39f33284c86bebfed3d4216 SHA512 100d2b4bf3eadedb7da230317cd37b2c1b259bbd783099a74e0d75fdc6ecddb8a6fd854a2b272bda3629bcf1ac1ae2b3d5657fca9137c17e38aad88f30e4c81c

View File

@@ -1,48 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="A library for creating and verifying Usenet cancel locks"
HOMEPAGE="https://micha.freeshell.org/libcanlock/"
SRC_URI="https://micha.freeshell.org/lib${PN}/src/lib${P}.tar.bz2"
S="${WORKDIR}/lib${P}"
LICENSE="BSD MIT"
SLOT="0/3"
KEYWORDS="amd64 arm ppc x86 ~amd64-linux ~x86-linux"
IUSE="+legacy"
BDEPEND="sys-devel/flex
virtual/yacc"
DOCS=( ChangeLog{,_V{0..2}} README doc/sec_review.txt )
src_prepare() {
default
# shatest fails to build with slibtool
sed 's/shatest$(EXEEXT) //g' -i test/Makefile.in || die
}
src_configure() {
local econf_args=(
--enable-pc-files
$(use_enable legacy legacy-api)
)
econf "${econf_args[@]}"
}
src_install() {
default
find "${ED}" -name '*.la' -delete || die
# keep old header location for compability with canlock v2
use legacy && dosym ./libcanlock-3/canlock.h /usr/include/canlock.h
# required for net-nntp/tin
dosym ./libcanlock-3.pc /usr/$(get_libdir)/pkgconfig/libcanlock3.pc
}