2016-10-17 12:56:29 +00:00
|
|
|
# Template file for 'scite'
|
|
|
|
pkgname=scite
|
2016-12-31 11:16:48 +00:00
|
|
|
version=3.7.2
|
2016-10-17 12:56:29 +00:00
|
|
|
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"
|
2016-12-31 11:16:48 +00:00
|
|
|
checksum=1aae46ad22abc647864c4255e9497eec702938052b35c0e5d452a0ccba23fe7f
|
2016-10-17 12:56:29 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|