summaryrefslogtreecommitdiffstats
path: root/extra/ede/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/ede/Pkgfile')
-rw-r--r--extra/ede/Pkgfile13
1 files changed, 10 insertions, 3 deletions
diff --git a/extra/ede/Pkgfile b/extra/ede/Pkgfile
index 30473f739..fba05b26c 100644
--- a/extra/ede/Pkgfile
+++ b/extra/ede/Pkgfile
@@ -6,15 +6,22 @@
name=ede
version=2.0-beta
-release=1
+release=2
source=(http://downloads.sourceforge.net/project/ede/$name/2.0-beta/$name-$version.tar.gz\
- ede-2.0-beta.c++.patch ede-2.0-beta.edelibinclude.patch)
+ ede-2.0-beta.c++.patch \
+ ede-2.0-beta.edelibinclude.patch \
+ ede-2.0-beta.jamconfig.patch )
build() {
cd $name-*
patch -Np1 -i ../ede-2.0-beta.c++.patch
patch -Np1 -i ../ede-2.0-beta.edelibinclude.patch
./autogen.sh
./configure --prefix=/usr
+patch -Np1 -i ../ede-2.0-beta.jamconfig.patch
jam
-prefix=$PKG/usr jam install
+prefix=$PKG/usr sysconfdir=$PKG/etc InstallData=$PKG jam install
+mv $PKG/usr/share/mime/packages .
+rm -r $PKG/usr/share/mime
+mkdir $PKG/usr/share/mime
+mv packages $PKG/usr/share/mime/
}