blob: af15b44bd8736bb1a5bea106cef490e5f19fdae0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
#!/bin/sh
NAME="sed"
DESC="GNU stream editor"
MAKEDEPS=" perl"
PKG_VER=4.8
#SOURCE="https://ftp.gnu.org/pub/gnu/sed/sed-$PKG_VER.tar.xz"
SOURCE="https://ftp.heanet.ie/mirrors/ftp.gnu.org/gnu/sed/sed-$PKG_VER.tar.xz"
ADDITIONAL="
sed.post-deinstall
"
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--bindir=/bin \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-i18n \
--disable-nls
make
}
check() {
make check
}
package() {
make DESTDIR="$PKG_DEST" install
rm -rf "$PKG_DEST"/usr/lib/charset.alias || true
rmdir -p "$PKG_DEST"/usr/lib 2>/dev/null || true
}
|