# Contributor: Francesco Colista # Maintainer: Francesco Colista setvar pkgname = 'statserial' setvar pkgver = '1.1' setvar pkgrel = '4' setvar pkgdesc = ""Display serial port modem status lines"" setvar url = ""http://sunsite.unc.edu/pub/Linux/system/Serial"" setvar arch = ""all"" setvar license = ""GPL"" setvar depends = """" setvar depends_dev = ""ncurses-dev"" setvar makedepends = "$depends_dev" setvar install = """" setvar subpackages = """" setvar source = ""http://ibiblio.org/pub/linux/system/serial/statserial-$pkgver.tar.gz statserial-1.patch statserial-c.patch makefile.patch "" setvar _builddir = ""$srcdir"/$pkgname-$pkgver" proc prepare { local i cd $_builddir for i in $source { case (i) { *.patch { msg $i; patch -p1 -i "$srcdir"/$i || return 1} } } sed -i -e "s/\/local//" Makefile } proc build { cd $_builddir make CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" CC="${CC:-gcc}" || return 1 } proc package { cd $_builddir mkdir -p $pkgdir/usr/bin install -m755 $pkgname $pkgdir/usr/bin/$pkgname } setvar sha512sums = ""070ec4b6fb4a432fd406571319d9431d55c6dd43ee9298c1907011038a57dd3efd5def434aeb6884fb195cc90aa961d2ad2ff0567c9c69173e6f4adc0509a805 statserial-1.1.tar.gz 109414f0f2d90d3f36e623752f53f17bf4b6aefe01091020559a2460d0922f6c0c0ee1cce10fcae01efd9730bd04b168ba58950893c99b674c2b80e28c6fe49b statserial-1.patch 1ebd734fac9eed9af252436d9a625cf4cc5fa4d4c86d831de9e0d992c18419e75839b9bb7aec8d4df70402b026ad2dc30c98509373ccc82ab50a22724b57d9fb statserial-c.patch 3829c0b3112c2534a98a7edd2bf56c975d28be59ba0562e8030286e325b9d6ac5a5efa32dca426c518d508a31d8b496881751c0084067e7a33f97d06447b5c51 makefile.patch""