# SliTaz package receipt. PACKAGE="beaver" VERSION="0.4.1" CATEGORY="development" SHORT_DESC="Simple and very light advanced text editor." MAINTAINER="pankso@slitaz.org" DEPENDS="gtk+ xorg-libXdamage" BUILD_DEPENDS="gtk+-dev xorg-xproto intltool expat-dev" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://beaver-editor.sf.net/" WGET_URL="$SF_MIRROR/$PACKAGE-editor/$TARBALL" TAGS="text-editor" # Rules to configure and make the package. compile_rules() { cd $src ./configure \ --prefix=/usr \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p \ $fs/usr/share/beaver cp -a $_pkg/usr/bin $fs/usr cp -a $_pkg/usr/share/beaver/resource $fs/usr/share/beaver cp -a $_pkg/usr/share/pixmaps $fs/usr/share # Custom default configuration cp -a $stuff/beaver.conf.default $fs/usr/share/beaver/resource }