summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/libraw1394
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-02-19 16:04:38 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-02-19 16:04:38 (GMT)
commit097ebc5aece43798e785d620d3ad56f568501a2b (patch)
tree364510c7db1d5cde85de51a47f012e414c29cb9f /abs/core-testing/libraw1394
parent31352df953653df1b5d6f193c3ed192536467b31 (diff)
parentac3eb72b60881ff3478663ec4aaf60b708edd870 (diff)
downloadlinhes_pkgbuild-097ebc5aece43798e785d620d3ad56f568501a2b.zip
linhes_pkgbuild-097ebc5aece43798e785d620d3ad56f568501a2b.tar.gz
linhes_pkgbuild-097ebc5aece43798e785d620d3ad56f568501a2b.tar.bz2
Merge branch 'HEAD' of ssh://jams@knoppmyth.net/mount/repository/LinHES-PKGBUILD.git
Diffstat (limited to 'abs/core-testing/libraw1394')
-rw-r--r--abs/core-testing/libraw1394/PKGBUILD3
-rw-r--r--abs/core-testing/libraw1394/libraw1394.install18
2 files changed, 20 insertions, 1 deletions
diff --git a/abs/core-testing/libraw1394/PKGBUILD b/abs/core-testing/libraw1394/PKGBUILD
index 4c73a58..b1065fd 100644
--- a/abs/core-testing/libraw1394/PKGBUILD
+++ b/abs/core-testing/libraw1394/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=libraw1394
pkgver=2.0.2
-pkgrel=1
+pkgrel=3
arch=('i686' 'x86_64')
license=('LGPL')
pkgdesc="Provides an API to the Linux IEEE1394 (FireWire) driver"
@@ -12,6 +12,7 @@ depends=('glibc')
makedepends=('pkgconfig')
url="http://www.linux1394.org/"
options=(!libtool force)
+install=libraw1394.install
source=(http://www.linux1394.org/dl/${pkgname}-${pkgver}.tar.gz)
md5sums=('9fbbef5ea31101c4c28085db134fd448')
diff --git a/abs/core-testing/libraw1394/libraw1394.install b/abs/core-testing/libraw1394/libraw1394.install
new file mode 100644
index 0000000..33fb64c
--- /dev/null
+++ b/abs/core-testing/libraw1394/libraw1394.install
@@ -0,0 +1,18 @@
+# arg 1: the new package version
+post_install() {
+ ln -s /usr/lib/libraw1394.so.11.0.1 /usr/lib/libraw1394.so.8
+}
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ /bin/true
+}
+
+# arg 1: the old package version
+post_remove() {
+ rm -fr /usr/lib/libraw1394.so.8
+}
+
+op=$1
+shift
+$op $*