libtasn1: various cleanup
drop the install script, handled by hooks now drop msysize patch, pretend to be cygwin instead.
This commit is contained in:
parent
178569667f
commit
2d6ec20616
@ -3,27 +3,26 @@
|
||||
pkgbase=libtasn1
|
||||
pkgname=('libtasn1' 'libtasn1-devel')
|
||||
pkgver=4.18.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="A library for Abstract Syntax Notation One (ASN.1) and Distinguish Encoding Rules (DER) manipulation"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('GPL3' 'LGPL')
|
||||
url="https://www.gnu.org/software/libtasn1/"
|
||||
makedepends=('gcc' 'texinfo' 'patch' 'gtk-doc' 'autotools')
|
||||
source=(https://ftp.gnu.org/gnu/libtasn1/${pkgname}-${pkgver}.tar.gz{,.sig}
|
||||
libtasn1-3.3-msys2.patch)
|
||||
makedepends=('gcc' 'patch' 'gtk-doc' 'autotools')
|
||||
source=(https://ftp.gnu.org/gnu/libtasn1/${pkgname}-${pkgver}.tar.gz{,.sig})
|
||||
sha256sums=('4365c154953563d64c67a024b607d1ee75c6db76e0d0f65709ea80a334cd1898'
|
||||
'SKIP'
|
||||
'9ec4aeedf95091777803ea3d80b167b258ab299bf23968ca7e1bef1e71707ac9')
|
||||
'SKIP')
|
||||
validpgpkeys=('B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE') # Simon Josefsson <simon@josefsson.org>
|
||||
|
||||
prepare() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
patch -p1 -i $srcdir/libtasn1-3.3-msys2.patch
|
||||
autoreconf -fiv
|
||||
}
|
||||
|
||||
build() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
|
||||
CHOST="${CHOST/-msys/-cygwin}" \
|
||||
./configure \
|
||||
--build=${CHOST} \
|
||||
--prefix=/usr \
|
||||
@ -42,7 +41,6 @@ check() {
|
||||
package_libtasn1() {
|
||||
depends=('info')
|
||||
groups=('libraries')
|
||||
install=libtasn1.install
|
||||
|
||||
mkdir -p ${pkgdir}/usr/bin
|
||||
cp -f ${srcdir}/dest/usr/bin/*.dll ${pkgdir}/usr/bin/
|
||||
|
||||
@ -1,13 +0,0 @@
|
||||
diff -Naur libtasn1-3.3-orig/build-aux/config.guess libtasn1-3.3/build-aux/config.guess
|
||||
--- libtasn1-3.3-orig/build-aux/config.guess 2013-03-24 10:26:53.000000000 +0000
|
||||
+++ libtasn1-3.3/build-aux/config.guess 2013-04-25 09:50:38.147460900 +0000
|
||||
@@ -947,6 +947,9 @@
|
||||
amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
|
||||
GUESS=x86_64-pc-cygwin
|
||||
;;
|
||||
+ amd64:MSYS*:*:* | x86_64:MSYS*:*:*)
|
||||
+ GUESS=x86_64-unknown-msys
|
||||
+ ;;
|
||||
prep*:SunOS:5.*:*)
|
||||
SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
|
||||
GUESS=powerpcle-unknown-solaris2$SUN_REL
|
||||
@ -1,18 +0,0 @@
|
||||
info_dir=usr/share/info
|
||||
info_files=libtasn1.info
|
||||
|
||||
post_install() {
|
||||
for f in ${info_files}; do
|
||||
install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
|
||||
done
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install $1
|
||||
}
|
||||
|
||||
pre_remove() {
|
||||
for f in ${info_files}; do
|
||||
install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
|
||||
done
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user