# vim: syn=sh ft=sh et sw=2 sts=2 ts=2 tw=0: #Packager: Dimitris Tzemos pkgname=pyasn1 pkgver=0.1.9 pkgrel=1dj source=(http://sourceforge.net/projects/pyasn1/files/$pkgname/$pkgver/$pkgname-${pkgver}.tar.gz) sourcetemplate=http://people.salixos.org/djemos/salix/14.2/$pkgname docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "changes" "license" "pkg-info" "thanks") url=http://sourceforge.net/projects/pyasn1 slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (ASN.1 types and codecs in Python)" "pyasn1 implements ASN.1 types and codecs (BER, CER, DER) in Python." "Some features include:" " - Generic implementation of ASN.1 types (X.208)" " - Fully standard compliant BER/CER/DER codecs" " - 100% Python, works with Python 2.2 and later" ) build() { cd $SRC/$pkgname-$pkgver || return 1 python setup.py install --prefix=/usr --root=$PKG || return 1 mkdir -p $PKG/usr/doc/$pkgname-$pkgver cp -r doc test $PKG/usr/doc/$pkgname-$pkgver/ }