mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 05:47:14 +08:00
39 lines
1.0 KiB
Bash
39 lines
1.0 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=liblastfm
|
|
pkgver=0.3.3
|
|
pkgrel=1
|
|
pkgdesc="A collection of libraries to help you integrate Last.fm services into your rich desktop software"
|
|
arch=('i686' 'x86_64')
|
|
url="http://github.com/mxcl/liblastfm/"
|
|
license=('GPL')
|
|
depends=('libsamplerate' 'fftw' 'qt' 'openssl')
|
|
makedepends=('ruby')
|
|
options=('!libtool')
|
|
source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/mxcl/${pkgname}/tarball/${pkgver}"
|
|
'no-ftools.patch')
|
|
sha1sums=('f2e9705c9c2cbeaa14f46da9bd35ab36fe710392'
|
|
'9bfaf116ec4abb58dc7e6f4f516e4c766fccb57a')
|
|
|
|
build() {
|
|
cd ${srcdir}/mxcl-${pkgname}-1c739eb
|
|
|
|
patch -Np1 -i ${srcdir}/no-ftools.patch
|
|
|
|
ruby configure --release --prefix /usr
|
|
make
|
|
}
|
|
|
|
package(){
|
|
cd ${srcdir}/mxcl-${pkgname}-1c739eb
|
|
make DESTDIR=${pkgdir} install
|
|
}
|
|
|