codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: dsa <dsa@unilestemg.br> # Conributer: gerbra <gerbra@derbrauer.homelinux.net> # Conributer: Joker-jar <joker-jar@yandex.ru> pkgname=ncpfs pkgver=2.2.6 pkgrel=6 pkgdesc="ncpfs allows you to mount volumes of NetWare servers under Linux." arch=('i686' 'x86_64') license=('GPL') depends=('linux>=3.0.0') url="http://ftp.de.debian.org/debian/pool/main/n/$pkgname/" source=("http://ftp.de.debian.org/debian/pool/main/n/$pkgname/${pkgname}_$pkgver.orig.tar.gz" 'ncpfs-2.2.6-gcc4.patch' 'ncpfs-2.2.6-missing-includes.patch' 'linux3.0_uname.patch') md5sums=('a9ab9f135d504440202069393dd9eb36' '092609494c8d03e8a2272dea609a3e48' '32d09b12bc780ed127254de4ac9b82a2' 'e3e3c7c148fff31162175af02f8111a7') build() { cd "$srcdir/$pkgname-$pkgver" # Patch from gentoo folks to make it compile with gcc4 for patch in ncpfs-2.2.6-gcc4.patch ncpfs-2.2.6-missing-includes.patch linux3.0_uname.patch; do patch -Np1 < "$srcdir/$patch" done ./configure --prefix=/usr --mandir=/usr/share make } package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir/pkg" install install-dev }
Private
[
?
]
Run code
Submit