new blfs: sys-apps/grep-3.12
This commit is contained in:
@@ -18,7 +18,7 @@ Warning: `leaf` won't deal with the dependence relation, and currently won't che
|
||||
|
||||
Those can be installed directly:
|
||||
```
|
||||
dev-libs/libunistring dev-libs/popt dev-libs/libtasn1 app-arch/libarchive dev-libs/xxhash
|
||||
dev-libs/libunistring dev-libs/popt dev-libs/libtasn1 app-arch/libarchive dev-libs/xxhash dev-libs/pcre2
|
||||
```
|
||||
|
||||
- `dev-libs/libunistring` -> `net-dns/libidn2` -> `net-libs/libpsl` -> `net-misc/wget`
|
||||
@@ -30,3 +30,4 @@ dev-libs/libunistring dev-libs/popt dev-libs/libtasn1 app-arch/libarchive dev-li
|
||||
- `app-arch/libarchive` -> `dev-db/sqlite` -> rebuild `dev-lang/python`
|
||||
- `dev-python/six` -> `dev-debug/gdb`
|
||||
- `dev-libs/popt` + `dev-libs/xxhash` -> `net-misc/rsync`
|
||||
- `dev-libs/pcre2` -> `sys-apps/grep`
|
||||
|
||||
27
sys-apps/grep-3.12.PKGBUILD
Normal file
27
sys-apps/grep-3.12.PKGBUILD
Normal file
@@ -0,0 +1,27 @@
|
||||
pkgname=grep
|
||||
pkgver=3.12
|
||||
pkgdesc='A string search utility'
|
||||
license=('GPL3')
|
||||
homepage='https://www.gnu.org/software/grep/'
|
||||
sources=("${pkgname}-${pkgver}.tar.xz")
|
||||
urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}")
|
||||
md5sums=('5d9301ed9d209c4a88c8d3a6fd08b9ac')
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
sed -i "s/echo/#echo/" src/egrep.sh
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
src_check() {
|
||||
make check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user