wok-next diff discount/receipt @ rev 20617
Fix build xchat, xchat-plugin, xget, xine-plugin; xorg-xf86-video-geode isn't compatible with 64-bit arch
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 21 13:54:55 2018 +0300 (2018-04-21) |
parents | b81825d54cb6 |
children | d5aab818505e |
line diff
1.1 --- a/discount/receipt Sat Mar 07 23:52:35 2015 +0100 1.2 +++ b/discount/receipt Sat Apr 21 13:54:55 2018 +0300 1.3 @@ -1,31 +1,27 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="discount" 1.8 VERSION="2.1.8" 1.9 CATEGORY="utilities" 1.10 -SHORT_DESC="a C implementation of the markdown spec" 1.11 +SHORT_DESC="C implementation of the markdown spec" 1.12 MAINTAINER="necrophcodr@necrophcodr.me" 1.13 LICENSE="BSD3" 1.14 -TARBALL="${PACKAGE}-${VERSION}.tar.gz" 1.15 WEB_SITE="http://www.pell.portland.or.us/~orc/Code/markdown" 1.16 -WGET_URL="${WEB_SITE}/${TARBALL}" 1.17 -HOST_ARCH="i486 arm" 1.18 1.19 -DEPENDS="" 1.20 -BUILD_DEPENDS="" 1.21 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.22 +WGET_URL="$WEB_SITE/$TARBALL" 1.23 1.24 -# Rules to configure and make the package. 1.25 -compile_rules() 1.26 -{ 1.27 +SPLIT="discount-dev" 1.28 + 1.29 +compile_rules() { 1.30 ./configure.sh --prefix=/usr && 1.31 make && 1.32 make DESTDIR=$DESTDIR install 1.33 } 1.34 1.35 - 1.36 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.37 -genpkg_rules() 1.38 -{ 1.39 - mkdir -p $fs/usr 1.40 - cp -a $install/usr/bin $fs/usr/ 1.41 +genpkg_rules() { 1.42 + case $PACKAGE in 1.43 + discount) copy @std;; 1.44 + *-dev) copy @dev;; 1.45 + esac 1.46 }