mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 02:27:13 +08:00
30 lines
990 B
Bash
30 lines
990 B
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>
|
|
|
|
pkgname=libgpod
|
|
pkgver=0.8.0
|
|
pkgrel=7
|
|
pkgdesc="libgpod is a shared library to access the contents of an iPod"
|
|
arch=(i686 x86_64)
|
|
license=('LGPL')
|
|
depends=('mutagen' 'sg3_utils>=1.27' 'libimobiledevice>=1.1.0' 'gdk-pixbuf2')
|
|
makedepends=('intltool' 'swig' 'docbook-xsl' 'pygobject')
|
|
url="http://www.gtkpod.org/libgpod.html"
|
|
source=(http://downloads.sourceforge.net/sourceforge/gtkpod/${pkgname}-${pkgver}.tar.gz)
|
|
options=(!libtool)
|
|
md5sums=('6660f74cc53293dcc847407aa5f672ce')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr \
|
|
--enable-udev || return 1
|
|
make PREFIX=/usr || return 1
|
|
make PREFIX=/usr DESTDIR="${pkgdir}" install || return 1
|
|
|
|
#copy headers
|
|
cp -v ${srcdir}/${pkgname}-${pkgver}/src/*.h ${pkgdir}/usr/include/gpod-1.0/gpod/
|
|
}
|