mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-23 18:14:54 +08:00
1850903828
openssh: rebuild against krb5
31 lines
973 B
Bash
31 lines
973 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=libedit
|
|
pkgver=20110802_3.0
|
|
pkgrel=1
|
|
pkgdesc='Command line editor library providing generic line editing, history, and tokenization functions'
|
|
arch=('i686' 'x86_64')
|
|
url='http://www.thrysoee.dk/editline/'
|
|
license=('BSD')
|
|
depends=('ncurses')
|
|
options=('!libtool')
|
|
source=("http://www.thrysoee.dk/editline/libedit-${pkgver/_/-}.tar.gz")
|
|
sha1sums=('b06e3cf248a4235617c71454e15ca3a54a61d467')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver/_/-}"
|
|
./configure --prefix=/usr --enable-widec --enable-static=no
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver/_/-}"
|
|
make prefix="${pkgdir}"/usr install
|
|
|
|
cp "${pkgdir}"/usr/share/man/man3/editline.3 "${pkgdir}"/usr/share/man/man3/el.3
|
|
install -D -m0644 COPYING "${pkgdir}"/usr/share/licenses/libedit/LICENSE
|
|
} |