mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-04 18:40:19 +02:00
editcp: initial import from whubb's brain
This commit is contained in:
parent
9e40fc3124
commit
9cb323feb5
2 changed files with 39 additions and 0 deletions
1
net-wireless/editcp-bin/Manifest
Normal file
1
net-wireless/editcp-bin/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST editcp-1.0.8.tar.xz 34696884 BLAKE2B 7388f222033309ce13bbf2b99cc2c0b92af9d3315f9e264632c387a428832d9d381555b79b1e0598e73750b145828543e2b2d1046e980e6bc6ed44885059a27f SHA512 83a9023aaf6c3165a74de7146ca8b1534c83154cc2a9ffed692e46c2a399edeac675111cd1fb68e81c3ff9271be33827ec7f8e9b6ba8f266e67490cbf90926cd
|
||||
38
net-wireless/editcp-bin/editcp-bin-1.0.8.ebuild
Normal file
38
net-wireless/editcp-bin/editcp-bin-1.0.8.ebuild
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
# Copyright 2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PN="editcp"
|
||||
DESCRIPTION=""
|
||||
HOMEPAGE="https://www.farnsworth.org/dale/codeplug/editcp"
|
||||
SRC_URI="${HOMEPAGE}/downloads/linux/${MY_PN}-${PV}.tar.xz"
|
||||
|
||||
LICENSE=""
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-libs/libusb:1"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
QA_FLAGS_IGNORED='.*'
|
||||
|
||||
RESTRICT="strip"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e "s#^dirname=#dirname=/opt/${MY_PN}#" ${MY_PN}.sh || die
|
||||
grep -q "^dirname=/opt/${MY_PN}" ${MY_PN}.sh ||
|
||||
die "sed change failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
rm install
|
||||
dodir /opt/${MY_PN}
|
||||
exeinto /opt/${MY_PN}
|
||||
doexe *.sh editcp
|
||||
cp -a lib plugins "${D}"/opt/${MY_PN}
|
||||
dosym /opt/${MY_PN}/${MY_PN}.sh /opt/bin/${MY_PN}
|
||||
}
|
||||
Loading…
Reference in a new issue