mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 09:27:14 +08:00
43 lines
1.2 KiB
Bash
43 lines
1.2 KiB
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=('ntrack')
|
|
pkgver=13
|
|
pkgrel=2
|
|
pkgdesc="A networked sound server"
|
|
arch=('i686' 'x86_64')
|
|
url="http://launchpad.net/ntrack/"
|
|
license=('GPL' 'LGPL')
|
|
depends=('python' 'qt' 'libnl' 'gcc-libs')
|
|
options=(emptydirs !libtool !makeflags !strip)
|
|
source=("http://launchpad.net/ntrack/main/0${pkgver}/+download/${pkgname}-0${pkgver}.tar.gz"
|
|
"http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/natty/ntrack/natty-updates/download/head:/deadloopfix.patch-20110517171152-h0hhhprka057brkm-1/dead-loop-fix.patch")
|
|
md5sums=('90596b924a108f8b4eea52239ba64369'
|
|
'bb313e3ba7163519a86fd72cadf46452')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-0${pkgver}"
|
|
|
|
patch -Np1 -i "${srcdir}/dead-loop-fix.patch"
|
|
|
|
./configure --libexecdir=/usr/lib \
|
|
--localstatedir=/var \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-0${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|
|
|
|
# vim:set ts=2 sw=2 et:
|