Crux ports for conky-cli, fe, hoz, net-monitor and tnote

I am trimming out my local ports folder, and I want a place to dump a few extraneous ones. I’ve mentioned most of these over the past few months, and some of them are very useful. Others are just for backup purposes, or were scalped-slash-updated from elsewhere.If you’re a Crux user, this might be somewhat interesting to you. If not … sorry.

Here’s conky-cli.

# Description: Conky command line, without X11 dependencies
# URL: http://conky.sourceforge.net/
# Maintainer: 
# Depends on: 

name=conky-cli
version=1.7.2
release=1
source=(http://downloads.sourceforge.net/conky/conky-$version.tar.gz)
build () 
{ 
    cd conky-$version;
    touch ./data/conky_no_x11.conf
    ./configure --prefix=/usr \
		--sysconfdir=/etc \
		--disable-lua \
		--disable-double-buffer \
		--disable-x11 \
		--disable-xdamage \
		--disable-own-window \
		--disable-xft \
		--disable-hddtemp \
		--disable-portmon
    make 
    make DESTDIR=$PKG install
    install -D -m644 COPYING $PKG/usr/share/licenses/conky/LICENSE
}

And fe, the folding editor I mentioned alongside dehtml and so forth.

# Description:	Fe is a small and easy to use folding editor.
# URL:		http://www.moria.de/~michael/fe/
# Maintainer:
# Packager:
# Depends on:

name=fe
version=1.8
release=1
source=(http://www.moria.de/~michael/$name/$name-$version.tar.gz)

build() {
	cd $name-$version
	./configure --prefix=$PKG/usr --disable-nls --disable-sendmail
	make DESTDIR=$PKG install
	rm -rf $PKG/usr/share/locale
}

This is hoz, the file splitter.

# Description: HOZ is a file splitter. Its file format is the same as the one used by the 'Hacha' software
# URL: http://hoz.sourceforge.net/
# Maintainer: 
# Depends on:  

name=hoz
version=1.65
release=2
source=(http://downloads.sourceforge.net/$name/$name-165.tar.gz)
build () 
{ 
    LANGUAGE='EN'
    cd $name-165
    mkdir -p $PKG/usr/bin
    make LANG=-DHOZ_LANG_${LANGUAGE} BIN=$PKG/usr/bin/$name cli
}

I don't know what to call this one -- the mysterious network monitor. So I called it both the name of the tarball and the name of the executable: net-monitor, version 1.0.

# Description:	ncurses bandwidth monitor
# URL:		http://headhunter123.he.funpic.de/showtopic.php?forum=programme.for&index=1
# Maintainer:	headhunter at c-plusplus dot de
# Packager:	
# Depends on:	ncurses

name=net-monitor
version=1.0
release=1
source=(http://headhunter123.funpic.de/net.tar.gz)

build() {
	cd net
	make PREFIX=/usr
	mkdir -p $PKG/usr/bin/
	cp monitor $PKG/usr/bin/
}

If you remember tnote, this is the port I used to build it in Crux.

# Description:	A small note taking program for the terminal.
# URL:		http://sourceforge.net/projects/tnote/files/
# Maintainer:
# Packager:
# Depends on:	python

name=tnote
version=0.1.1
release=1
source=(http://downloads.sourceforge.net/project/$name/$name/$name-$version/$name-$version.tar.gz)

build() {
	cd $name-$version
	python setup.py install --home=$PKG/usr
}

I think that's enough for now. This is a bit of a non-post, but it is the kind of thing this blog was intended for. :)

About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s