NuTyX official Forum
Help => Programming => Topic started by: aarn on Thu Feb 09 08:15:50 2017
-
Downloading a standard tarball (eg. synaptic....tar.xz), un-tarring, then cd to the directory is straight-forward. Make was available from $ cards install make. But $ ./configure doesn't work. Am I missing something here? Thanks
-
I'm afraid you will need to read the documentation, I cannot explain it here in a few words. Take the time to read the documentation located at:
http://www.nutyx.org/en/documentation
Regards,
Thierry
-
Downloading a standard tarball (eg. synaptic....tar.xz), un-tarring, then cd to the directory is straight-forward. Make was available from $ cards install make. But $ ./configure doesn't work. Am I missing something here? Thanks
Very easily scripts are transferred from Slaskware. As an example, SlaskBuild (http://slackbuilds.org/slackbuilds/14.2/system/libnatspec/libnatspec.SlackBuild) from Slaskbuilds.org
And this is my first Pkgbuild for NuTyX
# Description: Library for national and language-specific issues.
# URL: https://github.com/vitlav/libnatspec
# Packager: cdrw
name=libnatspec
version=0.3.1
release=1
source=( https://github.com/vitlav/libnatspec/archive/$version-alt2.tar.gz )
build() {
cd $name-$version-alt2
autoreconf -fiv
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--infodir=/usr/share/info \
--docdir=/usr/doc/$name-$version \
--with-python
make
make DESTDIR=$PKG install
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
}
-
Thanks a lot for this example, I think it will help people to understand.
Regards
-
I'm delighted with your distribution. You came up with everything I wanted.
I like experimenting, and for many years as a user of Slackware, I wrote for myself such constructs (http://1p.mf-arch.ru/d/eyJ0IjoiMjAxNy0wOS0xN1QxNDo0NToyNy4zMDYxOTE4WiIsInRtIjoxNSwiYmQiOjEsImZkIjo0NjgyMjExLCJyZiI6bnVsbCwic2wiOjAsImZuIjoiYXJjaGl2ZXJzLTIwMTcuMDguMjcudGFyLnh6IiwiciI6Imh0dHA6Ly9teS1maWxlcy5ydS9pZWU4OWwiLCJs/IjpudWxsfQ,,.BE6529EC16E00E3CCCDB39388357A105./archivers-2017.08.27.tar.xz).
Comments in Russian, but this I wrote for myself.
Now I can build a distro for myself much faster, thanks to your work.
And I'll try to help others. I know very little English, but I want to help.
Thanks for your work!
Request. Open the topic for Russian users on the forum. I would like to attract Russian-speaking users. As in the SalixOS forum (https://forum.salixos.org/viewforum.php?f=34&sid=df2517d7fdfca2e6531705909019116c). If possible.