# HG changeset patch # User necrophcodr # Date 1410340437 -7200 # Node ID d5320a34f35238a542ff2a16bbe2fc2d2451f685 # Parent 71c50a9bf9ca7012500ac71c68b3df0b687e1944 Add discount and devel. diff -r 71c50a9bf9ca -r d5320a34f352 discount-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/discount-dev/receipt Wed Sep 10 11:13:57 2014 +0200 @@ -0,0 +1,21 @@ +# SliTaz package receipt. + +PACKAGE="discount-dev" +VERSION="2.1.7" +CATEGORY="development" +SHORT_DESC="a C implementation of the markdown spec - dev files" +MAINTAINER="tcg.thegamer@gmail.com" +LICENSE="BSD3" +WEB_SITE="http://www.pell.portland.or.us/~orc/Code/markdown/" +HOST_ARCH="i486 arm" +WANTED="discount" + +DEPENDS="discount" + +# 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 +} diff -r 71c50a9bf9ca -r d5320a34f352 discount/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/discount/receipt Wed Sep 10 11:13:57 2014 +0200 @@ -0,0 +1,34 @@ +# SliTaz package receipt. + +PACKAGE="discount" +VERSION="2.1.7" +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" +HOST_ARCH="i486 arm" + +DEPENDS="" +BUILD_DEPENDS="tup" + +# 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 +} + + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/usr $fs/ +}