wok-next annotate discount/receipt @ rev 20564
shell-detector, screenfetch: create $install tree
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 10 10:14:26 2018 +0200 (2018-04-10) |
parents | b81825d54cb6 |
children | d5aab818505e |
rev | line source |
---|---|
al@20456 | 1 # SliTaz package receipt v2. |
tcg@17140 | 2 |
tcg@17140 | 3 PACKAGE="discount" |
necrophcodr@17745 | 4 VERSION="2.1.8" |
tcg@17140 | 5 CATEGORY="utilities" |
al@20456 | 6 SHORT_DESC="C implementation of the markdown spec" |
necrophcodr@17745 | 7 MAINTAINER="necrophcodr@necrophcodr.me" |
tcg@17140 | 8 LICENSE="BSD3" |
tcg@17140 | 9 WEB_SITE="http://www.pell.portland.or.us/~orc/Code/markdown" |
tcg@17140 | 10 |
al@20456 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20456 | 12 WGET_URL="$WEB_SITE/$TARBALL" |
tcg@17140 | 13 |
al@20456 | 14 SPLIT="discount-dev" |
al@20456 | 15 |
al@20456 | 16 compile_rules() { |
tcg@17140 | 17 ./configure.sh --prefix=/usr && |
pascal@17152 | 18 make && |
pascal@17153 | 19 make DESTDIR=$DESTDIR install |
tcg@17140 | 20 } |
tcg@17140 | 21 |
al@20456 | 22 genpkg_rules() { |
al@20456 | 23 case $PACKAGE in |
al@20456 | 24 discount) copy @std;; |
al@20456 | 25 *-dev) copy @dev;; |
al@20456 | 26 esac |
tcg@17140 | 27 } |