wok annotate cortex/receipt @ rev 20033

Up hostapd (2.6) again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 23 13:45:53 2017 +0200 (2017-08-23)
parents
children efa71a1392d4
rev   line source
paul@19431 1 # SliTaz package receipt.
paul@19431 2
paul@19431 3 PACKAGE="cortex"
paul@19431 4 VERSION="02102016"
paul@19431 5 CATEGORY="utilities"
paul@19431 6 SHORT_DESC="An ncurses reddit browser and monitor."
paul@19431 7 MAINTAINER="paul@slitaz.org"
paul@19431 8 LICENSE="MIT"
paul@19431 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
paul@19431 10 WEB_SITE="http://cortex.glacicle.org/"
paul@19431 11 WGET_URL="git|git://github.com/GGLucas/cortex"
paul@19431 12
paul@19431 13 DEPENDS="py3k cacerts"
paul@19431 14 BUILD_DEPENDS="git bzip2"
paul@19431 15
paul@19431 16
paul@19431 17 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@19431 18 genpkg_rules()
paul@19431 19 {
paul@19431 20 mkdir -p $fs/usr/bin $fs/home/tux/.cortex
paul@19431 21 cp -a $src/$PACKAGE $fs/usr/bin
paul@19431 22 cp -a $src/config.example $fs/home/tux/.cortex/config
paul@19431 23 }
paul@19431 24
paul@19431 25 post_install()
paul@19431 26 {
paul@19431 27 chroot "$1/" chown -R tux.users "/home/tux/.cortex"
paul@19431 28 }
paul@19431 29
paul@19431 30 post_remove()
paul@19431 31 {
paul@19431 32 chroot "$1/" rm -r "/home/tux/.cortex"
paul@19431 33 }
paul@19431 34