forked from ports/contrib
26 lines
680 B
Plaintext
26 lines
680 B
Plaintext
# Description: text editor
|
|
# URL: http://mooedit.sourceforge.net/
|
|
# Maintainer: Bartlomiej Palmowski, rotwang at crux dot org dot pl
|
|
# Depends on: gtk
|
|
|
|
name=medit
|
|
version=0.10.4
|
|
release=1
|
|
source=(http://dbg.download.sourcemage.org/mirror/$name-$version.tar.bz2)
|
|
|
|
build() {
|
|
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
|
|
make
|
|
make DESTDIR=$PKG install
|
|
rm -rf $PKG/usr/share/doc
|
|
}
|