summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Rawlins <romster@shortcircuit.net.au>2008-05-18 15:43:03 +1000
committerDanny Rawlins <romster@shortcircuit.net.au>2008-05-18 15:43:03 +1000
commit278ddb1d254c1531701d0a99079838dcd1c56ea2 (patch)
treefb36107a628df26d183d42d75cfbc8d6136ffbb3
parenta858f0174a769533c3b16fcb2bf4c314e1dbb143 (diff)
downloadcontrib-278ddb1d254c1531701d0a99079838dcd1c56ea2.tar.gz
contrib-278ddb1d254c1531701d0a99079838dcd1c56ea2.tar.xz
libdivx: Pkgfile cleanup
-rw-r--r--libdivx/.footprint4
-rw-r--r--libdivx/Pkgfile11
2 files changed, 7 insertions, 8 deletions
diff --git a/libdivx/.footprint b/libdivx/.footprint
index fe7ea7f08..1971f7949 100644
--- a/libdivx/.footprint
+++ b/libdivx/.footprint
@@ -19,5 +19,5 @@ drwxr-xr-x root/root usr/include/divx/encoder/
-rw-r--r-- root/root usr/include/divx/encoder/FrameResult.h
-rw-r--r-- root/root usr/include/divx/encoder/Settings.h
drwxr-xr-x root/root usr/lib/
--rwxr-xr-x root/root usr/lib/libdivx.so
-lrwxrwxrwx root/root usr/lib/libdivx.so.0 -> /usr/lib/libdivx.so
+lrwxrwxrwx root/root usr/lib/libdivx.so -> /usr/lib/libdivx.so.0
+-rw-r--r-- root/root usr/lib/libdivx.so.0
diff --git a/libdivx/Pkgfile b/libdivx/Pkgfile
index 8174cc262..7ea5e9d87 100644
--- a/libdivx/Pkgfile
+++ b/libdivx/Pkgfile
@@ -2,7 +2,6 @@
# URL: http://labs.divx.com/DivXLinuxCodec
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
# Packager: Martin Opel, mo at obbl-net dot de
-# Depends on: unzip
name=libdivx
version=6.1.1
@@ -14,10 +13,10 @@ build() {
install -d tmp
unzip -d tmp -P h08pzt4 contents.dat
install -d $PKG/usr/include/divx/{common,decoder,encoder}
- install -D -m 0755 tmp/lib/libdivx.so $PKG/usr/lib/libdivx.so
- install -m 0644 tmp/include/common/* $PKG/usr/include/divx/common/
- install -m 0644 tmp/include/decoder/* $PKG/usr/include/divx/decoder/
- install -m 0644 tmp/include/encoder/* $PKG/usr/include/divx/encoder/
- ln -fs /usr/lib/libdivx.so $PKG/usr/lib/libdivx.so.0
+ install -m 0644 -D tmp/lib/libdivx.so $PKG/usr/lib/libdivx.so.0
+ install -m 0644 -t $PKG/usr/include/divx/common/ tmp/include/common/*
+ install -m 0644 -t $PKG/usr/include/divx/decoder/ tmp/include/decoder/*
+ install -m 0644 -t $PKG/usr/include/divx/encoder/ tmp/include/encoder/*
+ ln -s /usr/lib/libdivx.so.0 $PKG/usr/lib/libdivx.so
}

Generated by cgit