mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 20:36:40 +02:00
main/zip: add license file
This commit is contained in:
parent
ab3d6eea55
commit
7d769a64f0
@ -1,28 +1,33 @@
|
||||
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
|
||||
pkgname=zip
|
||||
pkgver=3.0
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
pkgdesc="Creates PKZIP-compatible .zip files"
|
||||
url="http://www.info-zip.org/pub/infozip/Zip.html"
|
||||
arch="all"
|
||||
license="AS IS"
|
||||
license="Custom"
|
||||
depends=""
|
||||
makedepends=""
|
||||
source="ftp://ftp.info-${pkgname}.org/pub/info${pkgname}/src/${pkgname}30.zip
|
||||
10-zip-3.0-build.patch
|
||||
20-zip-3.0-exec-stack.patch
|
||||
30-zip-3.0-pic.patch"
|
||||
subpackages="$pkgname-doc"
|
||||
source="ftp://ftp.info-${pkgname}.org/pub/info${pkgname}/src/${pkgname}30.zip
|
||||
10-zip-3.0-build.patch
|
||||
20-zip-3.0-exec-stack.patch
|
||||
30-zip-3.0-pic.patch"
|
||||
|
||||
build ()
|
||||
{
|
||||
cd "${srcdir}/${pkgname}30"
|
||||
for i in ../*.patch; do
|
||||
_builddir="$srcdir"/${pkgname}30
|
||||
build () {
|
||||
cd "$_builddir"
|
||||
for i in ../*.patch; do
|
||||
msg "Applying $i"
|
||||
patch -p0 < $i || return 1
|
||||
done
|
||||
make -f unix/Makefile LOCAL_ZIP="${CFLAGS} ${CPPFLAGS}" prefix=/usr generic || return 1
|
||||
make -f unix/Makefile prefix=${pkgdir}/usr MANDIR=${pkgdir}/usr/share/man install
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_builddir"
|
||||
make -f unix/Makefile prefix=${pkgdir}/usr MANDIR=${pkgdir}/usr/share/man install || return 1
|
||||
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
||||
}
|
||||
|
||||
md5sums="e88492c8abd68fa9cfba72bc08757dba zip30.zip
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user