aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-04-12 09:57:20 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-04-12 09:57:20 +0000
commitb2273efae7cb2609fc2d1da622a95fd82678058c (patch)
treed394818cc9a27f1986af49ddd71bc7ca53e63f5d /testing
parent45e9081bdb50f0897961644409a65da93a708e55 (diff)
downloadaports-b2273efae7cb2609fc2d1da622a95fd82678058c.tar.bz2
aports-b2273efae7cb2609fc2d1da622a95fd82678058c.tar.xz
main/libgphoto2: moved from testing
Diffstat (limited to 'testing')
-rw-r--r--testing/libgphoto2/APKBUILD37
-rw-r--r--testing/libgphoto2/libgphoto2.pre-install6
l---------testing/libgphoto2/libgphoto2.pre-upgrade1
3 files changed, 0 insertions, 44 deletions
diff --git a/testing/libgphoto2/APKBUILD b/testing/libgphoto2/APKBUILD
deleted file mode 100644
index d33d2ba5d2..0000000000
--- a/testing/libgphoto2/APKBUILD
+++ /dev/null
@@ -1,37 +0,0 @@
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-pkgname=libgphoto2
-pkgver=2.4.10.1
-pkgrel=1
-pkgdesc="The core library of gphoto2, designed to allow access to digital camera by external programs."
-url="http://www.gphoto.org"
-arch="all"
-license="LGPL"
-depends=""
-depends_dev="libexif-dev libusb-compat-dev"
-makedepends="libexif-dev jpeg-dev libtool libusb-compat-dev libiconv-dev"
-install="$pkgname.pre-install $pkgname.pre-upgrade"
-subpackages="$pkgname-dev $pkgname-doc"
-source="http://downloads.sourceforge.net/gphoto/libgphoto2-$pkgver.tar.bz2"
-
-_builddir="$srcdir"/$pkgname-$pkgver
-build() {
- cd "$_builddir"
- udevscriptdir=/lib/udev ./configure --prefix=/usr \
- --with-drivers=all \
- --disable-static \
- --disable-rpath \
- || return 1
- LD_PRELOAD="" make || return 1
-}
-
-package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
- rm -f $pkgdir/usr/lib/libgphoto2/$pkgver/*.a
- install -m755 -d "$pkgdir/lib/udev/rules.d"
- LD_LIBRARY_PATH="$pkgdir/usr/lib${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" \
- CAMLIBS="$pkgdir/usr/lib/libgphoto2/$pkgver" \
- "$pkgdir/usr/lib/libgphoto2/print-camera-list" udev-rules version 136 group camera mode 0660 > "$pkgdir/lib/udev/rules.d/54-gphoto.rules" || return 1
-}
-
-md5sums="362cd914c64b2363f4d0bd5ad07c7209 libgphoto2-2.4.10.1.tar.bz2"
diff --git a/testing/libgphoto2/libgphoto2.pre-install b/testing/libgphoto2/libgphoto2.pre-install
deleted file mode 100644
index a7d31448b8..0000000000
--- a/testing/libgphoto2/libgphoto2.pre-install
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-if ! getent group camera >/dev/null; then
- addgroup -S camera
-fi
-
diff --git a/testing/libgphoto2/libgphoto2.pre-upgrade b/testing/libgphoto2/libgphoto2.pre-upgrade
deleted file mode 120000
index bc38b3b082..0000000000
--- a/testing/libgphoto2/libgphoto2.pre-upgrade
+++ /dev/null
@@ -1 +0,0 @@
-libgphoto2.pre-install \ No newline at end of file