wok annotate tty-clock/receipt @ rev 17873
eom: Update bdeps and genpkg_rules
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Fri Mar 27 02:10:52 2015 -0300 (2015-03-27) |
parents | 23c3aed67cd9 |
children | 2ad68c5f19e1 |
rev | line source |
---|---|
paul@4625 | 1 # SliTaz package receipt. |
paul@4625 | 2 |
paul@4625 | 3 PACKAGE="tty-clock" |
paul@16746 | 4 VERSION="0.1" |
paul@4625 | 5 CATEGORY="utilities" |
paul@4625 | 6 SHORT_DESC="Analog ncurses clock." |
paul@4625 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15601 | 8 LICENSE="BSD" |
paul@16746 | 9 WEB_SITE="https://github.com/xorg62/tty-clock" |
pascal@15104 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
paul@16746 | 11 WGET_URL="git|git://github.com/xorg62/tty-clock" |
pascal@15099 | 12 TAGS="clock" |
pascal@15099 | 13 |
paul@4625 | 14 DEPENDS="ncurses" |
paul@16746 | 15 BUILD_DEPENDS="ncurses-dev git bzip2" |
paul@4625 | 16 |
paul@4625 | 17 # Rules to configure and make the package. |
paul@4625 | 18 compile_rules() |
paul@4625 | 19 { |
paul@4625 | 20 cd $src |
paul@4625 | 21 make |
paul@4625 | 22 } |
paul@4625 | 23 |
paul@4625 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@4625 | 25 genpkg_rules() |
paul@4625 | 26 { |
paul@4625 | 27 mkdir -p $fs/usr/bin |
paul@16746 | 28 cp -a $src/$PACKAGE $fs/usr/bin |
paul@4625 | 29 } |
paul@4625 | 30 |