You are not logged in.

#1 2010-11-18 05:39:35

bsdson.tw
Member
From: Taiwan
Registered: 2005-05-06
Posts: 161

[PKGBUILD Request] driver for smart card reader Castles EZ100PU

Hi,
I tried to make my 1st PKGBUILD for this driver with the following error messages:

==> Entering fakeroot environment...
==> Starting package()...
/proc/bus/usb Detected
/dev/bus/usb Detected
USB Device File System Ready!
PC/SC Daemon Found!
PC/SC Driver Location - /usr/local/pcsc
Driver Already Exists! Do you want to overwrite? (y/n)
y
Cannot Open /usr/local/pcsc/drivers/ezusb.bundle/Contents/Linux/ezusb.so
EZUSB Driver Installed Failed
    Aborting...

I don't know why it can not do some file operations in fakeroot environment.
can somebody help me to check this out, please?
here is my PKGBUILD:

pkgname=EZUSB_Linux_x86
pkgver=1.4.9
pkgrel=1
pkgdesc="EZUSB EZ100PU linux driver"
arch=('i686')
url="http://www.casauto.com.tw/in-products-03.aspx?id=P_00000055&cid=C_00000024&pname=EZ100+Series&cname=PC%2fSC+Smart+Card+Reader"
license=('unknown')
groups=()
depends=()
makedepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=(200910202021270555.gz)
noextract=()
md5sums=('0f884dbd3980dc5127ebe66835411bb9')

build() {
echo build
}

package() {
  cd "${pkgname}_v${pkgver}/driver_ezusb_v${pkgver}"
  ./install
}

you can download the source package from:
http://www.casauto.com.tw/db/pictures/m … 1270555.gz

it is the driver for a smart card reader made by Castles Technology, model EZ100PU.

BR,
Henry

Offline

#2 2010-11-18 06:35:54

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: [PKGBUILD Request] driver for smart card reader Castles EZ100PU

Your install script tries to install directly to /usr/local, what you want is for it to install to $pkgdir/usr/local or something like that. Check out other PKGBUILDs for just about any package to see how that's done.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

Board footer

Powered by FluxBB