You are not logged in.

#1 2004-07-08 23:48:24

standsolid
Member
From: Carlsbad, CA
Registered: 2004-05-23
Posts: 54
Website

New PKGBUILD - gnump3d

EDIT: well, I'm an idiot http://bbs.archlinux.org/viewtopic.php?t=3358 -- musta typoed when I searched earlier.  sorry for the bother!


Hello all

this is my first package for rach (i'm so proud)

it's the gnump3d mp3 server.  really good stuff.   This package + SSH tunneling is the cooelst way to stream my music around the firewall at work.

The makefile had some problems building to a target other than / so I fixed those problems up with  a sed one-liner

please any comments/suggestions/improvements are appriciated, and I would love the criticism as this is my first PKGBUILD.

It's really quick to build (the package is perl scripts and libraries) so I Thought more people would try it.

thanks for any feedback

 # Maintainer: 
 # Contributor: Kenny Smith <kenny@standsolid.com>
 pkgname=gnump3d
 pkgver=2.8
 pkgrel=1
 pkgdesc="easy-to-use and secure mp3/ogg streaming server"
 url="http://www.gnu.org/software/gnump3d/"
 depends=('perl')
 makedepends=('sed')
 backup=('/etc/gnump3d/gnump3d.conf')
 source=("http://savannah.gnu.org/download/$pkgname/$pkgname-$pkgver.tar.bz2")
 md5sums=('7be68af05cdac0855bf15e592a24ee9b')

 build() {
   cd $startdir/src/$pkgname-$pkgver
   #to allow installing somewhere other than /usr correctly
   sed  -e's/(^CONFDIR|^CACHEDIR|^SERVEDIR|^LOGDIR|^LIBDIR|^BINDIR|^TEMPDIR|^MANDIR) *= (.*)/1 = $(_STARTDIR)/pkg2/g' -i Makefile
   # Makefile bug? looks like it
   sed -e's/gnump3d-top $(PREFIX)/bin/gnump3d-top $(BINDIR)/g' -i Makefile
   

   make _STARTDIR=$startdir debug
   make _STARTDIR=$startdir install   
 }

ewwwwww Arch is all gooey

Offline

Board footer

Powered by FluxBB