# Contributor: Alexander Georgievskiy # Maintainer: setglobal pkgname = 'stargazer' setglobal _pkgname = 'stg' setglobal pkgver = '2.408' setglobal pkgrel = '0' setglobal pkgdesc = '"A billing system for small home and office networks'" setglobal url = '"http://www.stg.dp.ua'" setglobal arch = '"all'" setglobal license = '"GPL2+'" setglobal depends = ''"" setglobal makedepends = '"expat-dev linux-headers'" setglobal install = ''"" setglobal subpackages = ""$pkgname-dev"" setglobal source = ""http://www.$_pkgname.dp.ua/download/server/$pkgver/$_pkgname-$pkgver.tar.gz fix-name-max.patch "" setglobal builddir = ""$srcdir/$_pkgname-$pkgver"" setglobal options = '"!check'" proc prepare { default_prepare cd "$builddir/projects/$pkgname" sed 's/.*capture\/ipq_linux//' -i build } proc build { cd "$builddir/projects/$pkgname" ./build } proc package { cd "$builddir/projects/$pkgname" mkdir -p "$pkgdir/usr/sbin" make PREFIX="$pkgdir" install } setglobal sha512sums = '"200e08cfd629dbacda31ffd3134c2908a1ad58604421cc288ad0ec1bdcd60fe021d51fed50fdc2517bb7c2b61ef23b0b9c71a606babd09bc7804cb899e0b7f75 stg-2.408.tar.gz b7572654091490bab39a6d6da081133df041df80f38f9de77156719ad05083dfa570a7a6df5db74ee30f3d22270271bd27a8793b6c0ee40ea123ddb4af11d6ec fix-name-max.patch'"