English Amiga Board

Go Back   English Amiga Board > Support > support.Amix

Thread Tools
Old 04 June 2015, 16:59   #1
Registered User
Noth's Avatar
Join Date: Aug 2013
Location: Lausanne, Switzerland
Posts: 184
How to create AMIX packages

So I've been trying to compile various gnu tools in AMIX 2.1p2a thanks to Failure's updated gcc and wanted to install them as proper packages. AMIX provides tools to do this, notably pkgmk and pkgproto. Here's how to do it using gzip as an example:

1. create the directory that the gzip package is going to install into prior to becoming a package. I use /home/pkg for this, so I do a

mkdir -p /home/pkg/gzip
. You can call this whatever you want of course.
2. Next, gunzip and untar your source package somewhere logical, like /home/installs . You now have /home/installs/gzip-1.24 if you took version 1.24.

3. configure and compile it like this:

cd /home/installs/gzip-1.24
./configure --prefix=/home/pkg/gzip/usr --build=m68k-cbm-sysv4
make install
4. Now you need to create a prototype file for pkgmk. Do it this way:

cd /home/pkg/gzip
pkgproto /home/pkg/gzip/usr=/opt/amixbp/ > prototype
Next you edit it with vi and add :

d none /opt 0755 root root
i pkginfo=/home/pkg/gzip/gzip.pkginfo
then save it.

5. Create a /home/pkg/gzip/gzip.pkginfo file vi that contains this:

NAME="gnu gzip"
CATEGORY="archive tools"
6. Run pkgmk in the /home/pkg/gzip dir. It will create a pkg directory for gzip in /var/spool/pkg/.

7. You can now run pkgadd gzip and it will automagically install to /opt/amixbp. Obviously to use it you need /opt/amixbp/bin in your PATH but you already did that to get a new gcc didn't you?

Last edited by Noth; 20 January 2018 at 15:33.
Noth is offline  

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Amix on FS-UAE? asiga support.FS-UAE 6 21 September 2015 11:53
Amix ftw bozimmerman support.Amix 2 11 June 2015 08:27
AMIX an an emulator? swampcretin support.Apps 16 10 September 2005 00:01
Email Packages aebrown-u request.Apps 1 12 March 2003 00:46
IM Packages aebrown-u request.Apps 2 12 March 2003 00:20

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 03:36.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Page generated in 0.10422 seconds with 13 queries