34 lines
1,013 B
Bash
34 lines
1,013 B
Bash
# Template file for 'scite'
|
|
pkgname=scite
|
|
version=3.7.1
|
|
revision=1
|
|
create_wrksrc=yes
|
|
hostmakedepends="pkg-config"
|
|
makedepends="gtk+-devel lua51-devel"
|
|
short_desc="SCIntilla based Text Editor"
|
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
|
license="MIT"
|
|
homepage="http://www.scintilla.org/SciTEDownload.html"
|
|
distfiles="http://www.scintilla.org/scite${version//./}.tgz"
|
|
checksum=9dfda3b09d48f64cc0764afb8b08c1246a6fce8d9ef95a4b535e8ef4ae2b36b9
|
|
|
|
post_extract() {
|
|
sed -i 's/gthread-2.0/& lua/' scite/gtk/makefile
|
|
}
|
|
|
|
do_build() {
|
|
make ${makejobs} -C scintilla/gtk \
|
|
CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" \
|
|
CC="$CC $LDFLAGS" CXX="$CXX $LDFLAGS"
|
|
make ${makejobs} -C scite/gtk \
|
|
CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" \
|
|
CC="$CC $LDFLAGS" CXX="$CXX $LDFLAGS" \
|
|
LUA_CORE_OBJS= LUA_LIB_OBJS=
|
|
}
|
|
|
|
do_install() {
|
|
make ${makejobs} -C scite/gtk install DESTDIR="$DESTDIR"
|
|
vlicense scite/License.txt LICENSE.scite
|
|
vlicense scintilla/License.txt LICENSE.scintilla
|
|
ln -sf SciTE $DESTDIR/usr/bin/scite
|
|
}
|