2008-06-01 15:47:59 +02:00
|
|
|
# Description: text editor
|
|
|
|
# URL: http://mooedit.sourceforge.net/
|
2009-01-10 14:30:03 +01:00
|
|
|
# Maintainer: Bartlomiej Palmowski, rotwang at crux dot org dot pl
|
2008-06-01 15:47:59 +02:00
|
|
|
# Depends on: gtk
|
|
|
|
|
|
|
|
name=medit
|
2010-06-21 11:58:53 +02:00
|
|
|
version=0.10.4
|
2008-06-01 15:47:59 +02:00
|
|
|
release=1
|
2010-09-29 19:17:29 +02:00
|
|
|
source=(http://dbg.download.sourcemage.org/mirror/$name-$version.tar.bz2)
|
2008-06-01 15:47:59 +02:00
|
|
|
|
|
|
|
build() {
|
2010-06-21 11:58:53 +02:00
|
|
|
mkdir $name-$version/build
|
|
|
|
cd $name-$version/build
|
|
|
|
cmake .. \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DENABLE_NLS=OFF \
|
|
|
|
-DMANDIR=/usr/man \
|
|
|
|
-DDESKTOPFILEDIR=/usr/share/applications \
|
|
|
|
-DMOO_ENABLE_GENERATED_FILES=OFF \
|
|
|
|
-DMOO_ENABLE_PROJECT=ON
|
2008-06-01 15:47:59 +02:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -rf $PKG/usr/share/doc
|
|
|
|
}
|