1SUMMARY="A GUI frontend to the command-line downloader wget"
2DESCRIPTION="BeGet is a easy-to-use download manager for the popular command \
3line tool wget. BeGet can also accept more than one link at the same time.
4By default, your downloaded files are saved to /boot/home/Downloads."
5HOMEPAGE="https://github.com/HaikuArchives/BeGet"
6COPYRIGHT="1999-2001 Atsushi Takamatsu"
7LICENSE="GNU GPL v2"
8REVISION="6"
9SOURCE_URI="https://github.com/HaikuArchives/BeGet/archive/a170b0e6860c76599ab202a1532088cfcec447ad.tar.gz"
10CHECKSUM_SHA256="518a1be0dee7cc730db948205fb013034efe1a9e7edb6708f1c8024cc6b08c53"
11SOURCE_DIR="BeGet-a170b0e6860c76599ab202a1532088cfcec447ad"
12
13ARCHITECTURES="!all x86_gcc2"
14SECONDARY_ARCHITECTURES="x86_gcc2 !x86"
15
16USER_SETTINGS_FILES="
17	settings/BeGet-URL.pref
18	settings/BeGet.prefs
19	"
20
21PROVIDES="
22	beget$secondaryArchSuffix = $portVersion
23	app:BeGet = $portVersion
24	"
25REQUIRES="
26	haiku$secondaryArchSuffix
27	cmd:wget$secondaryArchSuffix
28	"
29
30BUILD_REQUIRES="
31	haiku${secondaryArchSuffix}_devel
32	"
33BUILD_PREREQUIRES="
34	cmd:cmake
35	cmd:gcc$secondaryArchSuffix
36	cmd:ld$secondaryArchSuffix
37	cmd:make
38	"
39
40BUILD()
41{
42	cmake .
43	make
44}
45
46INSTALL()
47{
48	mkdir -p $appsDir
49	cp BeGet $appsDir
50	addAppDeskbarSymlink $appsDir/BeGet
51}
52