Skip to content

Commit

Permalink
Disable systemd integration for pcsclite
Browse files Browse the repository at this point in the history
Signed-off-by: Wiktor Kwapisiewicz <[email protected]>
  • Loading branch information
wiktor-k committed Nov 29, 2023
1 parent cc6a288 commit 447fcf6
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/before-script-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,19 @@ if [ -f /usr/bin/yum ]; then
# See: https://pcsclite.apdu.fr/files/
PCSCLITE_VERSION=2.0.1

cd /tmp &&
curl --fail -sSL -O https://pcsclite.apdu.fr/files/pcsc-lite-${PCSCLITE_VERSION}.tar.bz2 && \
tar xf pcsc-lite-${PCSCLITE_VERSION}.tar.bz2 && \
cd pcsc-lite-${PCSCLITE_VERSION} && \
./configure --prefix=$PREFIX \
--disable-libsystemd \
--enable-filter \
--enable-ipcdir=/run/pcscd \
--enable-libudev \
--enable-usbdropdir=/usr/lib/pcsc/drivers \
--enable-polkit && \
make && make install

cd /tmp && \
curl --fail -sSL -O https://ftp.gnu.org/gnu/gmp/gmp-${GMP_VERSION}.tar.bz2 && \
tar xf gmp-${GMP_VERSION}.tar.bz2 && \
Expand All @@ -38,17 +51,6 @@ if [ -f /usr/bin/yum ]; then
--disable-openssl && \
make && make install

cd /tmp &&
curl --fail -sSL -O https://pcsclite.apdu.fr/files/pcsc-lite-${PCSCLITE_VERSION}.tar.bz2 && \
tar xf pcsc-lite-${PCSCLITE_VERSION}.tar.bz2 && \
cd pcsc-lite-${PCSCLITE_VERSION} && \
./configure --prefix=$PREFIX \
--enable-filter \
--enable-ipcdir=/run/pcscd \
--enable-libudev \
--enable-usbdropdir=/usr/lib/pcsc/drivers \
--enable-polkit && \
make && make install
else
echo Manylinux2020 build
sudo apt-get update
Expand Down

0 comments on commit 447fcf6

Please sign in to comment.