Commit 9aafb8e7 authored by Иван Мажукин's avatar Иван Мажукин Committed by Vitaly Lipatov

epm play: add levenhuklite (eterbug #17332)

parent d7328f21
#!/bin/sh
TAR="$1"
RETURNTARNAME="$2"
VERSION="$3"
. $(dirname $0)/common.sh
# lvh_software_levenhuklite_4_11_2023_12.zip
erc unpack $TAR || fatal
cd *
erc unpack LevenhukLite.x64.tar.bz2 || fatal
sed -n -e '1,/^exit 0$/!p' LevenhukLite.x64.sh > LevenhukLite.tgz
erc unpack LevenhukLite.tgz || fatal
cd LevenhukLite
mkdir -p opt/$PRODUCT
mkdir -p usr/share/icons/hicolor/128x128/apps/
mkdir -p usr/lib/udev/rules.d/
mkdir -p usr/share/applications
cp -a i18n opt/$PRODUCT/
install -m0755 LevenhukLite opt/$PRODUCT/
install -m0755 liblevenhukcam.so opt/$PRODUCT/
install -m0755 liblevenhuknam.so opt/$PRODUCT/
install -Dpm0644 LevenhukLite.png usr/share/icons/hicolor/128x128/apps/
install -Dm0644 99-levenhukcam.rules usr/lib/udev/rules.d/
install -Dpm0644 LevenhukLite.desktop usr/share/applications
PKGNAME=$PRODUCT-$VERSION
erc pack $PKGNAME.tar opt usr || fatal
return_tar $PKGNAME.tar
#!/bin/sh
PKGNAME=LevenhukLite
SUPPORTEDARCHES="x86_64"
VERSION="4.11.2023.12"
DESCRIPTION="LevenhukLite microscope"
URL="https://www.levenhuk.ru/"
. $(dirname $0)/common.sh
warn_version_is_not_supported
PKGURL="https://www.levenhuk.ru/products/materials/0/lvh_software_levenhuklite_${VERSION//./_}.zip"
install_pack_pkgurl $VERSION
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
. $(dirname $0)/common.sh
fix_desktop_file
add_bin_exec_command
add_libs_requires
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment