# SliTaz package receipt. PACKAGE="scite" VERSION="3.0.1" CATEGORY="utilities" SHORT_DESC="Editor with syntax highlighting and source code editing features." MAINTAINER="rcx@zoominternet.net" TARBALL="${PACKAGE}${VERSION//./}.tgz" WEB_SITE="http://www.scintilla.org/" WGET_URL="$SF_MIRROR/scintilla/$TARBALL" DEPENDS="gtk+ xorg-libXdamage gcc-lib-base" BUILD_DEPENDS="gtk+-dev" # Rules to configure and make the package. compile_rules() { # Build scintilla cd $src/scintilla/gtk make GTK2=1 prefix=/usr # Build SciTE cd $src/scite/gtk make GTK2=1 prefix=/usr && make prefix=/usr install && { # Desktop file and icon mkdir -p $DESTDIR/usr/share/applications $DESTDIR/usr/share/pixmaps cp SciTE.desktop $DESTDIR/usr/share/applications cp Sci48M.png $DESTDIR/usr/share/pixmaps } } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share/applications $fs/usr/share/pixmaps cp -a $_pkg/usr $fs # Save space ~100kb rm $fs/usr/share/scite/*.html rm $fs/usr/share/scite/*.png } clean_wok() { rm -rf scite scintilla }