blob: dead4a907380e7a2cea1cf1d85c76d2c17eb74c2 (
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
|
#!/bin/sh
NAME="xlinks"
DESC="Web browser running in both graphics and text mode"
MAKEDEPS="make "
DEPS="bzip2 openssl libevent musl zlib zstd libx11 tiff libpng "
PKG_VER=2.27
SOURCE="http://links.twibright.com/download/links-$PKG_VER.tar.bz2"
ADDITIONAL="links.desktop"
build () {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--mandir=/usr/share/man \
--enable-graphics \
--with-x \
--with-fb
--disable-nls
make
}
package () {
make DESTDIR=$PKG_DEST install
mv $PKG_DEST/usr/bin/links $PKG_DEST/usr/bin/xlinks
install -D -m0644 "links.desktop" "$PKG_DEST/usr/share/applications/links.desktop"
}
|