A few more Crux ports

I have a few more ports that I think I should tack up here, rather than letting them collect dust in a folder somewhere in /usr/ports/local. As always, these are either home-grown or converted from AUR PKGBUILDs via Colin Zheng’s script. First up is the nameless network monitor from a few months ago.

# 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/
}

Not much there, but it’s a straightforward little program. This is calcurse, which was a longtime favorite in this household.

# $Id: $
# Description: A text-based personal organizer
# URL: http://culot.org/calcurse/
# Maintainer: 
# Packager: 
# Depends on: ncurses

name=calcurse
version=2.7
release=1
source=(ftp://ftp2.culot.org/culot/$name-$version.tar.gz)

build () {
	cd $name-$version
	./configure --prefix=/usr \
		    --disable-nls

	make
	make prefix=$PKG/usr install

	chown -R root:root $PKG
}

A long time ago someone mentioned zile, and I dutifully compiled it, but it’s not to my liking. Either way it might be interesting to someone who needs a slimmed-down emacs.

# Description: 	Zile Is Lossy Emacs
# URL: 		http://zile.sf.net
# Maintainer: 
# Depends on:

name=zile
version=2.3.9
release=1
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)

build()
{
    cd $name-$version
    ./configure --prefix=/usr
    find -name Makefile | xargs -n1 sed -i 's|makeinfo|true|g'
    make
    make DESTDIR=$PKG install
}

I mentioned ncmatrix on the Software page but haven’t really shown it in action. That would be because it looks and behaves so much like cmatrix that it’s difficult to tell them apart sometimes. 😉

# Description:	NCMatrix is a modified version of the CMatrix screen saver with added network traffic monitoring.
# URL:		http://webpages.charter.net/tux/ncmatrix/index.htm
# Maintainer:
# Depends on:	ncurses

name=ncmatrix
version=1.0
release=1
source=(http://webpages.charter.net/tux/$name/$name-$version.zip)

build() {
	cd $name-$version
	./configure --prefix=/usr
	make 
	make DESTDIR=$PKG install
}

Here’s task, which is one of many command-line task organizers.

# Description: A command-line todo list manager
# URL: http://taskwarrior.org/projects/show/taskwarrior/
# Maintainer: 
# Depends on: gcc ncurses 

name=task
version=1.8.3
release=1
source=(http://www.taskwarrior.org/download/$name-$version.tar.gz)
build () 
{ 
    	cd $name-$version
	./configure --prefix=/usr
	make 
    	make DESTDIR=$PKG install
}

And this is microdc2, which I put together one day a long time ago. I don’t know anything about it or how it works or what good it is, which begs the question of why I bothered in the first place.

# Description: Command-line based Direct Connect client that uses the GNU Readline library for user interaction.
# URL: http://corsair626.no-ip.org/microdc
# Maintainer: 
# Depends on: libxml2 readline

name=microdc2
version=0.15.6
release=3
source=(http://corsair626.no-ip.org/$name/$name-$version.tar.gz 
	logfile_segfault.patch 
	libxml2-configure.patch)
build () 
{ 
	cd $name-$version
	patch -p1 -i ../logfile_segfault.patch
	patch -p1 -i ../libxml2-configure.patch
	./configure --prefix=/usr
	make 
	make DESTDIR=$PKG install
	rm -rf $PKG/usr/share/locale
}

I think that’s about it for now; that will at least allow me to trim away some of the bulk in that folder. 😉

2 thoughts on “A few more Crux ports

  1. Pingback: Seven in a row « Motho ke motho ka botho

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 )

Google photo

You are commenting using your Google 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 )

Connecting to %s