mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 06:47:13 +08:00
27 lines
908 B
Bash
27 lines
908 B
Bash
# $Id: PKGBUILD 78023 2010-04-19 08:21:40Z dgriffiths $
|
|
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
|
|
|
|
pkgname=recode
|
|
pkgver=3.6
|
|
pkgrel=4
|
|
pkgdesc="Converts files between various character sets and usages"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.gnu.org/software/recode/recode.html"
|
|
license=('GPL' 'LGPL')
|
|
depends=('glibc' 'texinfo')
|
|
options=('!libtool')
|
|
install=recode.install
|
|
source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz recode-3.6-gcc43.patch)
|
|
md5sums=('be3f40ad2e93dae5cd5f628264bf1877' '47b62d7031d208180552174f9e223e9d')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
patch -p0 < ../recode-3.6-gcc43.patch || return 1
|
|
./configure --prefix=/usr --mandir=/usr/share/man \
|
|
--infodir=/usr/share/info --host=i686-pc-linux-gnu || return 1
|
|
make || return 1
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
rm ${pkgdir}/usr/share/info/dir
|
|
gzip ${pkgdir}/usr/share/info/*
|
|
}
|