# HG changeset patch # User Pascal Bellard # Date 1410442884 -7200 # Node ID 5ed8a72ad8baad7c1e612757dcc733d60eac3a31 # Parent 7d6eb2dc13143741fc16814fc42ad2a98740323f Down disount (2.1.6) diff -r 7d6eb2dc1314 -r 5ed8a72ad8ba discount-dev/receipt --- a/discount-dev/receipt Thu Sep 11 13:24:02 2014 +0200 +++ b/discount-dev/receipt Thu Sep 11 15:41:24 2014 +0200 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="discount-dev" -VERSION="2.1.7" +VERSION="2.1.6" CATEGORY="development" SHORT_DESC="a C implementation of the markdown spec - dev files" MAINTAINER="tcg.thegamer@gmail.com" @@ -15,7 +15,7 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - cd $src - tar xvf $src/build/discount.tgz -C $fs - rm -rf $fs/usr/bin + mkdir -p $fs/usr + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib $fs/usr } diff -r 7d6eb2dc1314 -r 5ed8a72ad8ba discount/receipt --- a/discount/receipt Thu Sep 11 13:24:02 2014 +0200 +++ b/discount/receipt Thu Sep 11 15:41:24 2014 +0200 @@ -1,34 +1,31 @@ # SliTaz package receipt. PACKAGE="discount" -VERSION="2.1.7" +VERSION="2.1.6" CATEGORY="utilities" SHORT_DESC="a C implementation of the markdown spec" MAINTAINER="tcg.thegamer@gmail.com" LICENSE="BSD3" TARBALL="${PACKAGE}-${VERSION}.tgz" WEB_SITE="http://www.pell.portland.or.us/~orc/Code/markdown" -#WGET_URL="${WEB_SITE}/${TARBALL}" -WGET_URL="http://necrophcodr.me:8088/tarball/trunk" +WGET_URL="${WEB_SITE}/${TARBALL}" HOST_ARCH="i486 arm" DEPENDS="" -BUILD_DEPENDS="tup" +BUILD_DEPENDS="" # Rules to configure and make the package. compile_rules() { - cd $src ./configure.sh --prefix=/usr && - tup init && - tup upd && - mkdir -p $DESTDIR - tar xvf build/discount.tgz -C $DESTDIR usr/bin/markdown + make && + make DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - cp -a $install/usr $fs/ + mkdir -p $fs/usr + cp -a $install/usr/bin $fs/usr/ }