forked from ports/contrib
23 lines
767 B
Plaintext
23 lines
767 B
Plaintext
# Description: QR code generator
|
|
# URL: https://github.com/nayuki/QR-Code-generator
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on:
|
|
|
|
name=libqrcodegen
|
|
version=1.5.0
|
|
release=1
|
|
source=(https://github.com/nayuki/QR-Code-generator/archive/v$version/$name-$version.tar.gz
|
|
c-lib.patch cpp-lib.patch)
|
|
|
|
build() {
|
|
cp -R QR-Code-generator-$version{,-cpp}
|
|
cd QR-Code-generator-$version
|
|
# https://raw.githubusercontent.com/OpenMandrivaAssociation/libqrcodegen/master/c-lib.patch
|
|
patch -Np1 -i $SRC/c-lib.patch
|
|
make DESTDIR=$PKG -C c install
|
|
cd $SRC/QR-Code-generator-$version-cpp
|
|
# https://raw.githubusercontent.com/OpenMandrivaAssociation/libqrcodegen/master/cpp-lib.patch
|
|
patch -Np1 -i $SRC/cpp-lib.patch
|
|
make DESTDIR=$PKG -C cpp install
|
|
}
|