2015-03-24 21:20:19 +01:00
|
|
|
# Template file for 'toxcore-git'
|
|
|
|
pkgname="toxcore-git"
|
|
|
|
version="20150313"
|
2015-03-24 23:55:46 +01:00
|
|
|
revision=2
|
|
|
|
_commithash="4ad76497881ee2a623acdedcf0ac10406208b716"
|
2015-03-24 21:20:19 +01:00
|
|
|
short_desc="Encrypted peer-to-peer instant messenger protocol library"
|
|
|
|
maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
|
|
|
|
license="GPL-3"
|
|
|
|
homepage="https://tox.im"
|
|
|
|
makedepends="libsodium-devel opus-devel libvpx-devel"
|
|
|
|
hostmakedepends="git autoconf automake libtool pkg-config"
|
|
|
|
build_style="gnu-configure"
|
|
|
|
|
|
|
|
do_fetch() {
|
|
|
|
git clone https://github.com/irungentoo/toxcore.git ${wrksrc}
|
|
|
|
}
|
|
|
|
|
|
|
|
pre_configure() {
|
2015-03-24 23:55:46 +01:00
|
|
|
git checkout ${_commithash}
|
2015-03-24 21:20:19 +01:00
|
|
|
./autogen.sh
|
|
|
|
}
|
|
|
|
|
|
|
|
# Development package
|
|
|
|
toxcore-devel-git_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/*.a
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|