wok-6.x rev 17152

Down disount (2.1.6)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 11 15:41:24 2014 +0200 (2014-09-11)
parents 7d6eb2dc1314
children 2a88fa76e991
files discount-dev/receipt discount/receipt
line diff
     1.1 --- a/discount-dev/receipt	Thu Sep 11 13:24:02 2014 +0200
     1.2 +++ b/discount-dev/receipt	Thu Sep 11 15:41:24 2014 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="discount-dev"
     1.7 -VERSION="2.1.7"
     1.8 +VERSION="2.1.6"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="a C implementation of the markdown spec - dev files"
    1.11  MAINTAINER="tcg.thegamer@gmail.com"
    1.12 @@ -15,7 +15,7 @@
    1.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.14  genpkg_rules()
    1.15  {
    1.16 -	cd $src
    1.17 -	tar xvf $src/build/discount.tgz -C $fs
    1.18 -	rm -rf $fs/usr/bin
    1.19 +	mkdir -p $fs/usr
    1.20 +	cp -a $install/usr/include $fs/usr
    1.21 +	cp -a $install/usr/lib $fs/usr
    1.22  }
     2.1 --- a/discount/receipt	Thu Sep 11 13:24:02 2014 +0200
     2.2 +++ b/discount/receipt	Thu Sep 11 15:41:24 2014 +0200
     2.3 @@ -1,34 +1,31 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="discount"
     2.7 -VERSION="2.1.7"
     2.8 +VERSION="2.1.6"
     2.9  CATEGORY="utilities"
    2.10  SHORT_DESC="a C implementation of the markdown spec"
    2.11  MAINTAINER="tcg.thegamer@gmail.com"
    2.12  LICENSE="BSD3"
    2.13  TARBALL="${PACKAGE}-${VERSION}.tgz"
    2.14  WEB_SITE="http://www.pell.portland.or.us/~orc/Code/markdown"
    2.15 -#WGET_URL="${WEB_SITE}/${TARBALL}"
    2.16 -WGET_URL="http://necrophcodr.me:8088/tarball/trunk"
    2.17 +WGET_URL="${WEB_SITE}/${TARBALL}"
    2.18  HOST_ARCH="i486 arm"
    2.19  
    2.20  DEPENDS=""
    2.21 -BUILD_DEPENDS="tup"
    2.22 +BUILD_DEPENDS=""
    2.23  
    2.24  # Rules to configure and make the package.
    2.25  compile_rules()
    2.26  {
    2.27 -	cd $src
    2.28  	./configure.sh --prefix=/usr &&
    2.29 -	tup init &&
    2.30 -	tup upd &&
    2.31 -	mkdir -p $DESTDIR
    2.32 -	tar xvf build/discount.tgz -C $DESTDIR usr/bin/markdown
    2.33 +	make &&
    2.34 +	make DESTDIR=$DESTDIR
    2.35  }
    2.36  
    2.37  
    2.38  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.39  genpkg_rules()
    2.40  {
    2.41 -	cp -a $install/usr $fs/
    2.42 +	mkdir -p $fs/usr
    2.43 +	cp -a $install/usr/bin $fs/usr/
    2.44  }