blob: 37721801bdc1b221cf0c57c0f146294e73072d50 (
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
40
41
42
43
44
45
46
47
48
|
# Create the repo
su
mkdir -p /var/db/repos/$CUSTOM_EBUILD_REPO_NAME/{metadata,profiles}
chown -R portage:portage /var/db/repos/localrepo
cd /var/db/repos/$CUSTOM_EBUILD_REPO_NAME/
vim profiles/[[repo_name](repo_name)
vim metadata/[[layout.conf]]
vim /etc/portage/repos.conf/[[$CUSTOM_EBUILD_REPO_NAME.conf]]
# add repo quick
sudo eselect repository add palladian git https://git.x.com/palladian.git
emerge --sync palladian
# Add ebuilds to repo
mkdir -p sci-visualization/visidata
chown -R portage:portage sci-visualization
cd
wget ebuild_url -O pkg_name-version.ebuild
chown -R portage:portage .ebuild
sudo pkgdev manifest -f
# Ebuilds
{PN} = pkg name
{P} = pkg name + version
DEPEND = Hard dependencies
RDEPEND = Runtime dependencies
BDEPEND = native build dep
S = path to tmp build directory
D = path to tmp install dir
src_install()
man ebuild
manifest clean merge unmerge
|