04 June 2015, 15:59 | #1 |
Registered User
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 2.7.3.2 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 Code:
mkdir -p /home/pkg/gzip . You can call this whatever you want of course. 3. configure and compile it like this: Code:
cd /home/installs/gzip-1.24 ./configure --prefix=/home/pkg/gzip/usr --build=m68k-cbm-sysv4 make make install Code:
cd /home/pkg/gzip pkgproto /home/pkg/gzip/usr=/opt/amixbp/ > prototype Code:
d none /opt 0755 root root i pkginfo=/home/pkg/gzip/gzip.pkginfo 5. Create a /home/pkg/gzip/gzip.pkginfo file vi that contains this: Code:
PKG="gzip" NAME="gnu gzip" VERSION="1.24" VENDOR="GNU" CATEGORY="archive tools" ISTATES="S 2" RSTATES="S 2" 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 14:33. |
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 10:53 |
Amix ftw | bozimmerman | support.Amix | 2 | 11 June 2015 07:27 |
AMIX an an emulator? | swampcretin | support.Apps | 16 | 09 September 2005 23:01 |
Email Packages | aebrown-u | request.Apps | 1 | 11 March 2003 23:46 |
IM Packages | aebrown-u | request.Apps | 2 | 11 March 2003 23:20 |
|
|