Received: from mail-qv1-f65.google.com (mail-qv1-f65.google.com [209.85.219.65]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id A0756780603 for <~alpine/aports@lists.alpinelinux.org>; Thu, 17 Sep 2020 23:20:08 +0000 (UTC) Received: by mail-qv1-f65.google.com with SMTP id db4so1922498qvb.4 for <~alpine/aports@lists.alpinelinux.org>; Thu, 17 Sep 2020 16:20:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=cxEaLwdIUVBkjCjyLrKs613POP4ntvpF7XZGTM4BtI8=; b=OhNrPsu/3alwQlsGNXLnNh5Ben9IuCwGy/v/yUliA9+ypAhXMyZMOa/z7VIoEXwuxs QNMSLt3488KH/5tUl96CDYSgjONxfWHs/JnR13q/vHaCN1+893HKnIIAnfevDlObhYVB A0vpMKVgR3/N1zR/c5YQ2ui573dDt/7nLDOObQmb+czo8CTnOzA94wYiNDwa8AinIlta cBr7iXEeE6oERTCr8HH6iwecYVauyVjTfapZzqeddB+7gzc1Fed7iTy/+E1FSUu9hBU6 tYmKYXRmu/p8mydntJFTSJQa5ByXn1r4uxSSzkHkNQ/wvZNclGlBiqe3BVA6vhdgV4yL KzNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=cxEaLwdIUVBkjCjyLrKs613POP4ntvpF7XZGTM4BtI8=; b=Q84lughN5DoajQekxTHL32RxZgz59dRTtSPfycraiIfbbJgYrVjr4KB5LCbY807XSW +V/D6W1aYsF0UZW0H3cYcI9XWk3RZNU2Dsc+bTIEV7HOJHh1utZyiCz6Q31yV0udCUhx xA4HGAczLbsqt2IizbXuElFj/mzVX8cJV6HXx44I3t3LA8aqs28LHzRKCxbTApdKbrgq 28THDuqVVKIU3pCdJ1eoUnaZ87T52pIBHn717YhwA5gJdFGrouTJ9dokyClxjSrsL4sC KgqTRTG9/2BfYCFmjbWM/i4rKXczqUIoLswyp0vVOgFowfZUPGY5n79AfPciu+K74vBY Hw5A== X-Gm-Message-State: AOAM533cNMsHq7cZwI9U1p3r7VVV5eTXboWOlEzIJ+t1al0iqUgpB8XT qB+pFboKHywjvdSBAEUAvdFVkQkD0iU= X-Google-Smtp-Source: ABdhPJwBZRGbsS3HqQO99LJ8DTyPa3e6X6Xbm5v4pFsfabd6901qomiltoySBQafXIv7AtiICTWFQg== X-Received: by 2002:a0c:c446:: with SMTP id t6mr14433648qvi.55.1600384807144; Thu, 17 Sep 2020 16:20:07 -0700 (PDT) Received: from enterprise ([2804:431:cfcd:7b4e:f371:ff40:50a4:e77f]) by smtp.gmail.com with ESMTPSA id j31sm931622qtc.33.2020.09.17.16.20.06 for <~alpine/aports@lists.alpinelinux.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Sep 2020 16:20:06 -0700 (PDT) Date: Thu, 17 Sep 2020 20:20:01 -0300 From: Leo To: ~alpine/aports@lists.alpinelinux.org Subject: Re: [PATCH] testing/djvulibre: new aport Message-ID: <20200917202001.1db882e6@enterprise> In-Reply-To: <20200917222251.25793-1-fukanchik@gmail.com> References: <20200917222251.25793-1-fukanchik@gmail.com> X-Mailer: Claws Mail 3.17.6 (GTK+ 2.24.32; x86_64-alpine-linux-musl) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Thu, 17 Sep 2020 22:22:51 +0000 Sergey Fukanchik wrote: > http://djvu.sourceforge.net/ > Utilities and Libraries for the DjVu image format > --- > testing/djvulibre/APKBUILD | 60 > ++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 > insertions(+) create mode 100644 testing/djvulibre/APKBUILD > > diff --git a/testing/djvulibre/APKBUILD b/testing/djvulibre/APKBUILD > new file mode 100644 > index 0000000000..9c73ff2ead > --- /dev/null > +++ b/testing/djvulibre/APKBUILD > @@ -0,0 +1,60 @@ > +# Contributor: Sergey Fukanchik > +pkgname=djvulibre > +pkgver=3.5.27 > +pkgrel=0 > +pkgdesc="Utilities and Libraries for the DjVu image format" > +url="http://djvu.sourceforge.net/" > +arch="all" > +license="GPL-2.0" Please use the SPDX license identifier, this is missing '-or-later' or '-only' > +depends="libjpeg-turbo tiff" Shouldn't be necessary, abuild will automatically detect which libraries an ELF file needs. > +makedepends="libjpeg-turbo-dev tiff-dev" > +subpackages="$pkgname-bin:_bin $pkgname-desktop $pkgname-text > $pkgname-dev $pkgname-doc lib$pkgname:libs" we generally use $pkgname-libs > +source="http://downloads.sourceforge.net/djvu/djvulibre-$pkgver.tar.gz" > + +build() { > + ./configure \ > + --build=$CBUILD \ > + --host=$CHOST \ > + --prefix=/usr \ > + --mandir=/usr/share/man > + > + make > +} > + > +_bin() { > + pkgdesc="Utilities for the DjVu image format" > + mkdir -p "$subpkgdir"/usr > + mv "$pkgdir"/usr/bin "$subpkgdir"/usr > +} > + > +libs() { > + pkgdesc="Runtime support for the DjVu image format" > + mkdir -p "$subpkgdir"/usr/lib > + mv "$pkgdir"/usr/lib/*.so.* \ > + "$subpkgdir"/usr/lib/ > +} > + > +text() { > + pkgdesc="Linguistic support files for libdjvulibre" > + mkdir -p "$subpkgdir"/usr/share/ > + mv "$pkgdir"/usr/share/djvu \ > + "$subpkgdir"/usr/share/ > +} > + > +desktop() { > + pkgdesc="Desktop support for the DjVu image format" > + mkdir -p "$subpkgdir"/usr/share > + mv "$pkgdir"/usr/share/mime \ > + "$pkgdir"/usr/share/icons \ > + "$subpkgdir"/usr/share/ > +} > + > +check() { > + make check > +} > + > +package() { > + make DESTDIR="$pkgdir" install > +} > + > +sha512sums="62abcaa2fe7edab536477929ba38b882453dab1a06e119a3f838b38d5c61f5d8c252e4769e6534582b826e49bcfb490513179580fab9c3afa84aa92053ccebee > djvulibre-3.5.27.tar.gz" Please have the subpackage functions after package() and open a Merge Request on gitlab.alpinelinux.org/alpine/aports