mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-27 17:20:59 +02:00
voipong: a working ebuild, instead of whatever that was
This commit is contained in:
parent
9e81682dcb
commit
cd66d3e13c
4 changed files with 53 additions and 36 deletions
|
|
@ -1 +1 @@
|
|||
DIST voipong-2.0.tar.gz 76426 SHA256 d22aac1bf7adf2fc9e0cebbc1292b763d16c8d4a0e7ebbd6d4d460201986e9a3
|
||||
DIST voipong-2.0.tar.gz 76426 BLAKE2B 6c4ff8ca226229cbc3df9349bc7a0398c63fa66b69802f08a3f489a7e7ee3fd99076f01745093d2d6afa979cac55a636d32a77a154da981421da4fe0ea9df409 SHA512 759828ad45703c153bd16085157dc6c4af5ae22d0b7014d2f2b52d079544ca4fa19bec4d07593e13bdda69e385b2f62d2bdd3d12149ee301dd03822c5d0a66bc
|
||||
|
|
|
|||
11
net-misc/voipong/metadata.xml
Normal file
11
net-misc/voipong/metadata.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>zerochaos@gentoo.org</email>
|
||||
<name>Rick Farina (Zero_Chaos)</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">EnderUNIX/VoIPong</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
41
net-misc/voipong/voipong-2.0-r1.ebuild
Normal file
41
net-misc/voipong/voipong-2.0-r1.ebuild
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
# Copyright 1999-2023 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /root/portage/net-misc/voipong/voipong-2.0.ebuild,v 1.1.1.1 2006/03/20 22:56:49 grimmlin Exp $
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="detect all VoIP calls on a pipeline and dump actual conversation"
|
||||
HOMEPAGE="http://www.enderunix.org/voipong/"
|
||||
|
||||
#inherit git-r3
|
||||
#EGIT_REPO_URI="https://github.com/EnderUNIX/VoIPong"
|
||||
SRC_URI="https://github.com/EnderUNIX/VoIPong/archive/d52e39304842fd3662a9f35f3b51c1725320bc4f.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="net-libs/libpcap"
|
||||
RDEPEND="media-sound/sox
|
||||
${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's:/usr/local::g' *.c
|
||||
sed -i -e 's:/usr/local::g' etc/voipong.conf
|
||||
sed -i -e "s#-g -Wall#${CFLAGS}#" Makefile.linux
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -f Makefile.linux
|
||||
}
|
||||
|
||||
src_install () {
|
||||
dobin voipong voipctl
|
||||
insinto /etc/voipong/
|
||||
doins etc/voipong*
|
||||
exeinto /etc/voipong/modules/
|
||||
doexe modvocoder*.so
|
||||
dodoc ALGORITHMS AUTHORS ChangeLog KNOWN_BUGS NEWS README TODO
|
||||
}
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
# Copyright 1999-20123 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /root/portage/net-misc/voipong/voipong-2.0.ebuild,v 1.1.1.1 2006/03/20 22:56:49 grimmlin Exp $
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="tool for detecting all VoIP calls on a pipeline and dumps actual conversation to seperate wav files"
|
||||
HOMEPAGE="http://www.enderunix.org/voipong/"
|
||||
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/EnderUNIX/VoIPong"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="media-sound/sox
|
||||
net-libs/libpcap"
|
||||
|
||||
src_compile() {
|
||||
sed -i -e 's:/usr/local::g' *.c
|
||||
sed -i -e 's:/usr/local::g' etc/voipong.conf
|
||||
make -f Makefile.linux
|
||||
}
|
||||
|
||||
src_install () {
|
||||
dobin voipong voipctl
|
||||
insinto /etc/voipong/
|
||||
doins etc/voipong*
|
||||
insinto /etc/voipong/modules/
|
||||
insopts -m0755
|
||||
doins modvocoder*.so
|
||||
dodoc ALGORITHMS AUTHORS ChangeLog KNOWN_BUGS NEWS README TODO
|
||||
}
|
||||
Loading…
Reference in a new issue