Re: receipt for cpulimit

[ Thread Index | Date Index | More lists.tuxfamily.org/slitaz Archives ]


Hey thanx Paul,
does this mean that it will be available directly like in a tazpkg
get-install cpulimit , later.



On Fri, Aug 22, 2008 at 3:13 PM, Paul Issott <paul@xxxxxxxxxxxxxxxxxxx> wrote:
>
> Hi Allan, receipt works fine! I've tidied it up a little bit. You don't need to send the package as well.
>
> Paul
>
> ======================================================================
>
> # SliTaz package receipt.
>
> PACKAGE="cpulimit"
> VERSION="1.1"
> CATEGORY="system-tools"
> SHORT_DESC="cpulimit is a simple program that attempts to limit the
> cpu usage of a process"
> MAINTAINER="allan316@xxxxxxxxx"
> DEPENDS=""
> TARBALL="$PACKAGE-$VERSION.tar.gz"
> WEB_SITE="http://cpulimit.sourceforge.net";
> WGET_URL="http://ovh.dl.sourceforge.net/sourceforge/cpulimit/$TARBALL";
>
> # Rules to configure and make the package.
> compile_rules()
> {
>        cd $src
>        make
> }
>
> # Rules to gen a SliTaz package suitable for Tazpkg.
> genpkg_rules()
> {
>        mkdir -p $fs/usr/bin
>        cp -a $src/cpulimit $fs/usr/bin
> }
>
>
> ======================================================================
>
> On Fri, 22 Aug 2008 13:32:20 +0000
> "Allan Pinto" <allan316@xxxxxxxxx> wrote:
>
>> Hi guys,
>>
>> My first successful package atleast on my pc :) , for cpulimit.
>> if any of your can tell me if its right,  it'll be great. below is the
>> receipt , also do i have to attach the package and send it ?.
>>
>> # SliTaz package receipt.
>>
>> PACKAGE="cpulimit"
>> VERSION="1.1"
>> CATEGORY="system-tools"
>> SHORT_DESC="cpulimit is a simple program that attempts to limit the
>> cpu usage of a process"
>> MAINTAINER="allan316@xxxxxxxxx"
>> DEPENDS=""
>> TARBALL="$PACKAGE-$VERSION.tar.gz"
>> WEB_SITE="http://cpulimit.sourceforge.net";
>> WGET_URL="http://ovh.dl.sourceforge.net/sourceforge/cpulimit/$TARBALL";
>>
>> # Rules to configure and make the package.
>> compile_rules()
>> {
>>       cd $src
>>       #./configure --prefix=/usr --infodir=/usr/share/info \
>>       #--mandir=/usr/share/man $CONFIGURE_ARGS
>>       make
>>       #make DESTDIR=$PWD/_pkg install
>> }
>>
>> # Rules to gen a SliTaz package suitable for Tazpkg.
>> genpkg_rules()
>> {
>>       mkdir -p $fs/usr
>>       mkdir -p $fs/usr/bin
>>       cp  $src/cpulimit $fs/usr/bin
>>       strip -s $fs/usr/bin/*
>> }
>>
>> --
>> Thanx and regd's.
>>
>> Allan.
>> http://www.in2dawok.com
>>
>> ---
>> SliTaz GNU/Linux Mailing list - http://www.slitaz.org/
>>
>
>
> --
> Paul Issott <paul@xxxxxxxxxxxxxxxxxxx>
>
>
> ---
> SliTaz GNU/Linux Mailing list - http://www.slitaz.org/
>



-- 
Thanx and regd's.

Allan.
http://www.in2dwok.com

---
SliTaz GNU/Linux Mailing list - http://www.slitaz.org/


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/