mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-06 07:47:14 +08:00
30 lines
894 B
Bash
30 lines
894 B
Bash
# maintainer abveritas@chakra-project.org
|
|
|
|
pkgname=libgpod
|
|
pkgver=0.8.2
|
|
pkgrel=3
|
|
pkgdesc="libgpod is a shared library to access the contents of an iPod"
|
|
arch=('x86_64')
|
|
license=('LGPL')
|
|
depends=('mutagen' 'sg3_utils>=1.27' 'libimobiledevice' '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.bz2")
|
|
options=(!libtool)
|
|
md5sums=('ff0fd875fa08f2a6a49dec57ce3367ab')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr --with-udev-dir=/usr/lib/udev \
|
|
--enable-udev --with-python=/usr/bin/python2
|
|
make PREFIX=/usr
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make PREFIX=/usr DESTDIR="${pkgdir}" install
|
|
|
|
#copy headers
|
|
cp -v ${srcdir}/${pkgname}-${pkgver}/src/*.h ${pkgdir}/usr/include/gpod-1.0/gpod/
|
|
}
|