# HG changeset patch # User Paul Issott # Date 1442762399 -3600 # Node ID 429840026bf613e153491e676965b9a7ae2b808e # Parent 24892e271649e272539f613caf07eeae36be7bfa Add sc-im diff -r 24892e271649 -r 429840026bf6 sc-im/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sc-im/receipt Sun Sep 20 16:19:59 2015 +0100 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="sc-im" +VERSION="01102015" +CATEGORY="office" +SHORT_DESC="Spreadsheet Calculator Improvised." +MAINTAINER="paul@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="https://github.com/andmarti1424/sc-im" +WGET_URL="git|git://github.com/andmarti1424/sc-im" + +DEPENDS="ncurses libtinfo" +BUILD_DEPENDS="ncurses-dev git bzip2 bison flex" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src/src + export LDFLAGS="-Wl,--copy-dt-needed-entries" + make -j1 + make DESTDIR=$DESTDIR install +} +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/share $fs/usr +}