# SliTaz package receipt. PACKED_SIZE="20.0K" UNPACKED_SIZE="40.0K" PACKAGE="fbvnc-auth" VERSION="1.0.2" CATEGORY="network" SHORT_DESC="VNC client in frame buffer with authentication." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="https://github.com/zohead/fbvnc" WGET_URL="git|git://github.com/zohead/fbvnc.git" [ -n "$TARGET" ] || TARGET="i486" BUILD_DEPENDS="uclibc-cross-compiler-$TARGET bzip2 git" DEPENDS="fbvnc-config busybox-net" # Rules to configure and make the package. compile_rules() { sed -i "s/^CC.*/CC = uclibc-$TARGET-gcc/;s/^LDFLAGS.*/& -s/" Makefile make } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin cp $src/fbvnc $fs/usr/bin } post_install() { sed -i 's|:fbvnc|:/usr/bin/fbvnc|' $1/etc/init.d/local.sh }