diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-11-03 16:06:58 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-11-03 16:06:58 +0000 |
commit | bd4aeefe33e63f613512604e47bfca7b2187697d (patch) | |
tree | adb35b5a9a00ee7ea591ab0c987f70167c23b597 /net-misc/vconfig | |
parent | 48ece6662cbd443015f5a57ae6d8cbdbd69ef37c (diff) |
gentoo resync : 03.11.2019
Diffstat (limited to 'net-misc/vconfig')
-rw-r--r-- | net-misc/vconfig/Manifest | 2 | ||||
-rw-r--r-- | net-misc/vconfig/vconfig-1.9.ebuild | 38 |
2 files changed, 27 insertions, 13 deletions
diff --git a/net-misc/vconfig/Manifest b/net-misc/vconfig/Manifest index 67b14348ae5b..26cfe4d1ecf6 100644 --- a/net-misc/vconfig/Manifest +++ b/net-misc/vconfig/Manifest @@ -1,3 +1,3 @@ DIST vlan.1.9.tar.gz 176135 BLAKE2B 195acf3d3bf12de3d11856ec3fdab9791d744af8a5c0003d42a2dd8dda5b22d92bdb43aac392a2c3281cf43f67c2b05dc442352f1cfb589bc540593a92a2a46d SHA512 7602679c1f1569d1742da37062213fea3a14b875bec9c41fc6b10c28a09a312db80f6eae4a8641a1892946545b2b4ef4699e61fddd8514469970e334a9dab0c5 -EBUILD vconfig-1.9.ebuild 1121 BLAKE2B e7a5a1c065d289c3752da7dd4fba90811fbce1aa155c54e7bfc2688f770e0c74609641c136a756ba07793cf8e2018624f0a459f9231c888d3133ad74cb555f38 SHA512 230e462ffc2396027de399bd4abd40457868e75248b3ca43a5ccbf084c99e3b8036be947dc02fad8b50cf4ffb51d3896e05ea1451b8799cbc8fc17c0ffdf0fda +EBUILD vconfig-1.9.ebuild 1107 BLAKE2B 226b300112a0d9bd30b2f3403a2933b586d44c3eba81ce755eb3b06e2a90469e9eb92341bf1dda65ca4b224d6025b83ec6ff4fef3d848e164720d4c505a48c84 SHA512 f62acc5035cfe1f9b1ebac2878a654e4f74760a43f4870a97a3e94d5412b9d92394a92d621193511b57fcada9d0140b9c33a9f7463236b00b9936bf8a07ca37f MISC metadata.xml 490 BLAKE2B 905a8d5d5d679a42695a20af7320d7030d57e5e58e46231e0d9a586890d5c244cdf518d8a60e7a7a346478281b4a69d497bd83e0b7b432c47455849da555d27c SHA512 bfc7141dc32d3992efa44836da7c032ad28829e77d0ca6038ab3d70b540f8b67ea5428c86c138f9f6f5b3bc1e007e17ad3941eb4dc7e65fc6d34d962ae8606b4 diff --git a/net-misc/vconfig/vconfig-1.9.ebuild b/net-misc/vconfig/vconfig-1.9.ebuild index 4671806983be..68ad081deeef 100644 --- a/net-misc/vconfig/vconfig-1.9.ebuild +++ b/net-misc/vconfig/vconfig-1.9.ebuild @@ -1,37 +1,51 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=0 +EAPI=7 -inherit eutils flag-o-matic toolchain-funcs +inherit flag-o-matic toolchain-funcs MY_PN="vlan" -S=${WORKDIR}/${MY_PN} DESCRIPTION="802.1Q vlan control utility" HOMEPAGE="http://www.candelatech.com/~greear/vlan.html" SRC_URI="http://www.candelatech.com/~greear/vlan/${MY_PN}.${PV}.tar.gz" + LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha amd64 ~arm hppa ~ppc ~ppc64 sparc x86" IUSE="static" +S="${WORKDIR}/${MY_PN}" + +src_prepare() { + default + sed -e "s:/usr/local/bin/vconfig:/sbin/vconfig:g" -i vlan_test.pl || die + sed -e "s:/usr/local/bin/vconfig:/sbin/vconfig:g" -i vlan_test2.pl || die +} + +src_configure() { + use static && append-ldflags -static +} + src_compile() { - use static && appened-ldflags -static emake purge - emake CC="$(tc-getCC)" CCFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" STRIP="true" vconfig || die + emake \ + CC="$(tc-getCC)" \ + CCFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + STRIP="true" vconfig } src_install() { into / - dosbin vconfig || die "dosbin error" + dosbin vconfig - sed -e "s:/usr/local/bin/vconfig:/sbin/vconfig:g" -i vlan_test.pl - sed -e "s:/usr/local/bin/vconfig:/sbin/vconfig:g" -i vlan_test2.pl + local HTML_DOCS=( {howto,vlan}.html ) + einstalldocs + dodoc vlan_test*.pl - doman vconfig.8 || die "doman error" - dohtml howto.html vlan.html || die "dohtml error" - dodoc CHANGELOG README vlan_test*.pl || die "dodoc error" + doman vconfig.8 } pkg_postinst() { |