Commit 0d334dae2c7870b776506382ffde9a66ea9d5473
1 parent
75274f99
Exists in
master
and in
3 other branches
Adding file required for building MSYS/2 packages.
Showing
1 changed file
with
39 additions
and
0 deletions
Show diff stats
| @@ -0,0 +1,39 @@ | @@ -0,0 +1,39 @@ | ||
| 1 | +# Maintainer: Perry Werneck <perry.werneck@gmail.com> | ||
| 2 | + | ||
| 3 | +pkgname=lib3270 | ||
| 4 | + | ||
| 5 | +pkgver=5.2 | ||
| 6 | +pkgrel=1 | ||
| 7 | +pkgdesc="TN3270 Access library" | ||
| 8 | +url="https://portal.softwarepublico.gov.br/social/pw3270/" | ||
| 9 | +arch=(i686 x86_64) | ||
| 10 | +license=(GPL) | ||
| 11 | +depends=() | ||
| 12 | +makedepends=(autoconf automake make openssl-devel) | ||
| 13 | +checkdepends=() | ||
| 14 | + | ||
| 15 | +#groups=(gnome) | ||
| 16 | + | ||
| 17 | +source=($pkgname-$pkgver.tar.xz) | ||
| 18 | +sha256sums=('SKIP') | ||
| 19 | + | ||
| 20 | +provides=($pkgname) | ||
| 21 | +conflicts=($pkgname) | ||
| 22 | + | ||
| 23 | +prepare() { | ||
| 24 | + cd $pkgname-$pkgver | ||
| 25 | + NOCONFIGURE=1 ./autogen.sh | ||
| 26 | + ./configure --prefix=$MINGW_PREFIX | ||
| 27 | +} | ||
| 28 | + | ||
| 29 | +build() { | ||
| 30 | + cd $pkgname-$pkgver | ||
| 31 | + make all | ||
| 32 | +} | ||
| 33 | + | ||
| 34 | +package() { | ||
| 35 | + cd $pkgname-$pkgver | ||
| 36 | + DESTDIR="$pkgdir" make install-dev | ||
| 37 | + install .bin/Release/*.dll $MINGW_PREFIX/bin | ||
| 38 | +} | ||
| 39 | + |