wok-tiny annotate fbvnc-auth/receipt @ rev 133

Add fbvnc-config & fbvnc-auth
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 23 12:08:35 2017 +0200 (2017-08-23)
parents
children a28c45a86936
rev   line source
pascal@133 1 # SliTaz package receipt.
pascal@133 2
pascal@133 3 PACKAGE="fbvnc-auth"
pascal@133 4 VERSION="1.0.2"
pascal@133 5 CATEGORY="network"
pascal@133 6 SHORT_DESC="VNC client in frame buffer with authentication."
pascal@133 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@133 8 LICENSE="GPL2"
pascal@133 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@133 10 WEB_SITE="https://github.com/zohead/fbvnc"
pascal@133 11 WGET_URL="git|git://github.com/zohead/fbvnc.git"
pascal@133 12 [ -n "$TARGET" ] || TARGET="i486"
pascal@133 13 BUILD_DEPENDS="uclibc-cross-compiler-$TARGET bzip2 git"
pascal@133 14 DEPENDS="fbvnc-config"
pascal@133 15
pascal@133 16 # Rules to configure and make the package.
pascal@133 17 compile_rules()
pascal@133 18 {
pascal@133 19 sed -i "s/^CC.*/CC = uclibc-$TARGET-gcc/;s/^LDFLAGS.*/& -s/" Makefile
pascal@133 20 make
pascal@133 21 }
pascal@133 22
pascal@133 23
pascal@133 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@133 25 genpkg_rules()
pascal@133 26 {
pascal@133 27 mkdir -p $fs/usr/bin
pascal@133 28 cp $src/fbvnc $fs/usr/bin
pascal@133 29 }
pascal@133 30
pascal@133 31 post_install()
pascal@133 32 {
pascal@133 33 sed -i 's|:fbvnc|:/usr/bin/fbvnc|' $1/etc/init.d/local.sh
pascal@133 34 }