mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 20:07:14 +08:00
29 lines
624 B
Bash
29 lines
624 B
Bash
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/re2c
|
|
|
|
pkgname=re2c
|
|
pkgver=0.14.3
|
|
pkgrel=1
|
|
arch=('x86_64')
|
|
depends=('gcc-libs')
|
|
pkgdesc="a tool for generating C-based recognizers from regular expressions."
|
|
url="http://re2c.sourceforge.net/"
|
|
license=('GPL')
|
|
source=(http://downloads.sourceforge.net/sourceforge/re2c/re2c-${pkgver}.tar.gz)
|
|
md5sums=('9d6914369494ea924a1dd7d96715cdc0')
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd $pkgname-$pkgver
|
|
make tests
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR="$pkgdir" install
|
|
}
|