LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   New Mkslack Release (https://www.linuxquestions.org/questions/slackware-14/new-mkslack-release-816324/)

dive 06-25-2010 06:52 AM

New Mkslack Release
 
mkslack version 3.6

http://www.dawoodfall.net/slackbuild...rsion/mkslack/

Quote:

mkslack - a SlackBuild generator script
(C) David Woodfall 2010

This slackbuild generator uses templates stored in /usr/share/mkslack/templates
and a config file /etc/mkslack/mkslack.conf which you must edit for name,
email, copyright etc.

Idea for use:

The initial slackbuild and info file are built by this script, and when
a test build/install is done and working, the files should be tweaked by
hand. Especially don't forget to fill in the rest of the details in the
.info. One thing to point out is that mkslack will overwrite these files
if run again unless you set KEEPBACKUPS="YES" in the conf (default).

This is only a starter kit! You ARE expected to edit the created files
by hand afterwards to remove unnecesary parts!

Syntax:

mkslack [options] <archive>

Options:
-h --help Usage.
-b --build Run SlackBuild after creation. Got root?
-i --install Install the package after running.
-l --list Pipe archive contents to /usr/bin/most and exit.
-v --version Version of mkslack.
-V --ckver Check for new version.

The documents list in top level of source tree can be adjusted by command:
DOCS="SomeFile" mkslack
This will add 'SomeFile' to the list. You can also edit the DOCS list in
this script. Any that it doesn't find will be removed from the list.

Build can be specified by:
BUILD=N mkslack
Otherwise it defaults to 1.

ARCH can be specified by:
ARCH=xxx mkslack

TAG=xxx mkslack (defaults to _SBo)

samac 06-27-2010 03:18 AM

Found a small error
Quote:

bash-4.1# mkslack -r -i libinklevel-0.8.0.tar.gz
Checking for newer version by finger @dawoodfall.net ...
No newer version available.
Looking to see what sort of template to use...
Looks like a standard autotools.
PRGNAM: libinklevel
VERSION: 0.8.0
ARCH: i486
BUILD: 1
TAG: _
No man directory. Removing from SlackBuild.
No info directory. Removing from SlackBuild.
Adjusting <documentation>
Docs: README AUTHORS INSTALL COPYING NEWS ChangeLog
Extra documents should be specified on command line or added later.
SlackBuild built.
md5sum of archive: 83464cb23fe46a1d1adbe10f08b247be
Info built.
libinklevel-0.8.0/
libinklevel-0.8.0/ltmain.sh
libinklevel-0.8.0/README
libinklevel-0.8.0/epson_new.h
libinklevel-0.8.0/bjnp-io.c
libinklevel-0.8.0/util.c
libinklevel-0.8.0/m4/
libinklevel-0.8.0/m4/libtool.m4
libinklevel-0.8.0/m4/ltsugar.m4
libinklevel-0.8.0/m4/ltoptions.m4
libinklevel-0.8.0/m4/lt~obsolete.m4
libinklevel-0.8.0/m4/ltversion.m4
libinklevel-0.8.0/configure.in
libinklevel-0.8.0/inklevel.h
libinklevel-0.8.0/config.sub
libinklevel-0.8.0/config.h
libinklevel-0.8.0/AUTHORS
libinklevel-0.8.0/rpmbuild
libinklevel-0.8.0/util.h
libinklevel-0.8.0/configure
libinklevel-0.8.0/libinklevel.spec
libinklevel-0.8.0/d4lib.c
libinklevel-0.8.0/bjnp-debug.c
libinklevel-0.8.0/canon.h
libinklevel-0.8.0/epson_new.c
libinklevel-0.8.0/opensolaris.c
libinklevel-0.8.0/ChangeLog
libinklevel-0.8.0/internal.h
libinklevel-0.8.0/norpm
libinklevel-0.8.0/aclocal.m4
libinklevel-0.8.0/depcomp
libinklevel-0.8.0/Makefile.am
libinklevel-0.8.0/libinklevel.c
libinklevel-0.8.0/NEWS
libinklevel-0.8.0/libinklevel.spec.in
libinklevel-0.8.0/Makefile.in
libinklevel-0.8.0/linux.c
libinklevel-0.8.0/INSTALL
libinklevel-0.8.0/d4lib.h
libinklevel-0.8.0/config.guess
libinklevel-0.8.0/config.h.in
libinklevel-0.8.0/platform_specific.h
libinklevel-0.8.0/hp_new.c
libinklevel-0.8.0/missing
libinklevel-0.8.0/install-sh
libinklevel-0.8.0/canon.c
libinklevel-0.8.0/COPYING
libinklevel-0.8.0/bjnp.h
libinklevel-0.8.0/hp_new.h
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a BSD-compatible install... /bin/ginstall -c
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-slackware-linux-gnu
checking host system type... x86_64-slackware-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/x86_64-slackware-linux/bin/ld
checking if the linker (/usr/x86_64-slackware-linux/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/x86_64-slackware-linux/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/x86_64-slackware-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for rpmbuild... /usr/bin/rpmbuild
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /bin/ginstall -c
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... yes
checking for working volatile... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking return type of signal handlers... void
checking ifaddrs.h usability... yes
checking ifaddrs.h presence... yes
checking for ifaddrs.h... yes
checking ieee1284.h usability... yes
checking ieee1284.h presence... yes
checking for ieee1284.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for sys/socket.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for library containing gethostbyname... none required
checking for library containing socket... none required
checking for getifaddrs... yes
checking for alarm... yes
checking for ftime... yes
checking for gethostbyaddr... yes
checking for gethostbyname... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for memset... yes
checking for select... yes
checking for socket... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strstr... yes
checking for gethostname... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for sys/types.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for arpa/nameser.h... yes
checking for netdb.h... (cached) yes
checking for resolv.h... yes
checking for size_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint8_t... yes
checking for ieee1284.h... (cached) yes
checking for ieee1284_open in -lieee1284... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libinklevel.spec
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing libtool commands
config.status: executing depfiles commands
make all-am
make[1]: Entering directory `/tmp/libinklevel-0.8.0'
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wmissing-prototypes -O2 -fPIC -MT libinklevel.lo -MD -MP -MF .deps/libinklevel.Tpo -c -o libinklevel.lo libinklevel.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wmissing-prototypes -O2 -fPIC -MT libinklevel.lo -MD -MP -MF .deps/libinklevel.Tpo -c libinklevel.c -fPIC -DPIC -o .libs/libinklevel.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wmissing-prototypes -O2 -fPIC -MT libinklevel.lo -MD -MP -MF .deps/libinklevel.Tpo -c libinklevel.c -o libinklevel.o >/dev/null 2>&1
mv -f .deps/libinklevel.Tpo .deps/libinklevel.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wmissing-prototypes -O2 -fPIC -MT canon.lo -MD -MP -MF .deps/canon.Tpo -c -o canon.lo canon.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wmissing-prototypes -O2 -fPIC -MT canon.lo -MD -MP -MF .deps/canon.Tpo -c canon.c -fPIC -DPIC -o .libs/canon.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wmissing-prototypes -O2 -fPIC -MT canon.lo -MD -MP -MF .deps/canon.Tpo -c canon.c -o canon.o >/dev/null 2>&1
mv -f .deps/canon.Tpo .deps/canon.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wmissing-prototypes -O2 -fPIC -MT epson_new.lo -MD -MP -MF .deps/epson_new.Tpo -c -o epson_new.lo epson_new.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wmissing-prototypes -O2 -fPIC -MT epson_new.lo -MD -MP -MF .deps/epson_new.Tpo -c epson_new.c -fPIC -DPIC -o .libs/epson_new.o
epson_new.c:208: warning: 'initialize_printer' was used with no prototype before its definition
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wmissing-prototypes -O2 -fPIC -MT epson_new.lo -MD -MP -MF .deps/epson_new.Tpo -c epson_new.c -o epson_new.o >/dev/null 2>&1
mv -f .deps/epson_new.Tpo .deps/epson_new.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wmissing-prototypes -O2 -fPIC -MT hp_new.lo -MD -MP -MF .deps/hp_new.Tpo -c -o hp_new.lo hp_new.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wmissing-prototypes -O2 -fPIC -MT hp_new.lo -MD -MP -MF .deps/hp_new.Tpo -c hp_new.c -fPIC -DPIC -o .libs/hp_new.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wmissing-prototypes -O2 -fPIC -MT hp_new.lo -MD -MP -MF .deps/hp_new.Tpo -c hp_new.c -o hp_new.o >/dev/null 2>&1
mv -f .deps/hp_new.Tpo .deps/hp_new.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wmissing-prototypes -O2 -fPIC -MT bjnp-io.lo -MD -MP -MF .deps/bjnp-io.Tpo -c -o bjnp-io.lo bjnp-io.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wmissing-prototypes -O2 -fPIC -MT bjnp-io.lo -MD -MP -MF .deps/bjnp-io.Tpo -c bjnp-io.c -fPIC -DPIC -o .libs/bjnp-io.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wmissing-prototypes -O2 -fPIC -MT bjnp-io.lo -MD -MP -MF .deps/bjnp-io.Tpo -c bjnp-io.c -o bjnp-io.o >/dev/null 2>&1
mv -f .deps/bjnp-io.Tpo .deps/bjnp-io.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wmissing-prototypes -O2 -fPIC -MT bjnp-debug.lo -MD -MP -MF .deps/bjnp-debug.Tpo -c -o bjnp-debug.lo bjnp-debug.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wmissing-prototypes -O2 -fPIC -MT bjnp-debug.lo -MD -MP -MF .deps/bjnp-debug.Tpo -c bjnp-debug.c -fPIC -DPIC -o .libs/bjnp-debug.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wmissing-prototypes -O2 -fPIC -MT bjnp-debug.lo -MD -MP -MF .deps/bjnp-debug.Tpo -c bjnp-debug.c -o bjnp-debug.o >/dev/null 2>&1
mv -f .deps/bjnp-debug.Tpo .deps/bjnp-debug.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wmissing-prototypes -O2 -fPIC -MT d4lib.lo -MD -MP -MF .deps/d4lib.Tpo -c -o d4lib.lo d4lib.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wmissing-prototypes -O2 -fPIC -MT d4lib.lo -MD -MP -MF .deps/d4lib.Tpo -c d4lib.c -fPIC -DPIC -o .libs/d4lib.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wmissing-prototypes -O2 -fPIC -MT d4lib.lo -MD -MP -MF .deps/d4lib.Tpo -c d4lib.c -o d4lib.o >/dev/null 2>&1
mv -f .deps/d4lib.Tpo .deps/d4lib.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wmissing-prototypes -O2 -fPIC -MT linux.lo -MD -MP -MF .deps/linux.Tpo -c -o linux.lo linux.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wmissing-prototypes -O2 -fPIC -MT linux.lo -MD -MP -MF .deps/linux.Tpo -c linux.c -fPIC -DPIC -o .libs/linux.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wmissing-prototypes -O2 -fPIC -MT linux.lo -MD -MP -MF .deps/linux.Tpo -c linux.c -o linux.o >/dev/null 2>&1
mv -f .deps/linux.Tpo .deps/linux.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wmissing-prototypes -O2 -fPIC -MT opensolaris.lo -MD -MP -MF .deps/opensolaris.Tpo -c -o opensolaris.lo opensolaris.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wmissing-prototypes -O2 -fPIC -MT opensolaris.lo -MD -MP -MF .deps/opensolaris.Tpo -c opensolaris.c -fPIC -DPIC -o .libs/opensolaris.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wmissing-prototypes -O2 -fPIC -MT opensolaris.lo -MD -MP -MF .deps/opensolaris.Tpo -c opensolaris.c -o opensolaris.o >/dev/null 2>&1
mv -f .deps/opensolaris.Tpo .deps/opensolaris.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wmissing-prototypes -O2 -fPIC -MT util.lo -MD -MP -MF .deps/util.Tpo -c -o util.lo util.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wmissing-prototypes -O2 -fPIC -MT util.lo -MD -MP -MF .deps/util.Tpo -c util.c -fPIC -DPIC -o .libs/util.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wmissing-prototypes -O2 -fPIC -MT util.lo -MD -MP -MF .deps/util.Tpo -c util.c -o util.o >/dev/null 2>&1
mv -f .deps/util.Tpo .deps/util.Plo
/bin/sh ./libtool --tag=CC --mode=link gcc -Wmissing-prototypes -O2 -fPIC -version-info 5:0:0 -o libinklevel.la -rpath /usr/lib64 libinklevel.lo canon.lo epson_new.lo hp_new.lo bjnp-io.lo bjnp-debug.lo d4lib.lo linux.lo opensolaris.lo util.lo -lieee1284
libtool: link: gcc -shared .libs/libinklevel.o .libs/canon.o .libs/epson_new.o .libs/hp_new.o .libs/bjnp-io.o .libs/bjnp-debug.o .libs/d4lib.o .libs/linux.o .libs/opensolaris.o .libs/util.o -Wl,-rpath -Wl,/usr/lib64 -Wl,-rpath -Wl,/usr/lib64 /usr/lib64/libieee1284.so -Wl,-soname -Wl,libinklevel.so.5 -o .libs/libinklevel.so.5.0.0
libtool: link: (cd ".libs" && rm -f "libinklevel.so.5" && ln -s "libinklevel.so.5.0.0" "libinklevel.so.5")
libtool: link: (cd ".libs" && rm -f "libinklevel.so" && ln -s "libinklevel.so.5.0.0" "libinklevel.so")
libtool: link: ar cru .libs/libinklevel.a libinklevel.o canon.o epson_new.o hp_new.o bjnp-io.o bjnp-debug.o d4lib.o linux.o opensolaris.o util.o
libtool: link: ranlib .libs/libinklevel.a
libtool: link: ( cd ".libs" && rm -f "libinklevel.la" && ln -s "../libinklevel.la" "libinklevel.la" )
make[1]: Leaving directory `/tmp/libinklevel-0.8.0'
make[1]: Entering directory `/tmp/libinklevel-0.8.0'
test -z "/usr/lib64" || /bin/mkdir -p "/tmp//package-libinklevel/usr/lib64"
/bin/sh ./libtool --mode=install /bin/ginstall -c libinklevel.la '/tmp//package-libinklevel/usr/lib64'
libtool: install: /bin/ginstall -c .libs/libinklevel.so.5.0.0 /tmp//package-libinklevel/usr/lib64/libinklevel.so.5.0.0
libtool: install: (cd /tmp//package-libinklevel/usr/lib64 && { ln -s -f libinklevel.so.5.0.0 libinklevel.so.5 || { rm -f libinklevel.so.5 && ln -s libinklevel.so.5.0.0 libinklevel.so.5; }; })
libtool: install: (cd /tmp//package-libinklevel/usr/lib64 && { ln -s -f libinklevel.so.5.0.0 libinklevel.so || { rm -f libinklevel.so && ln -s libinklevel.so.5.0.0 libinklevel.so; }; })
libtool: install: /bin/ginstall -c .libs/libinklevel.lai /tmp//package-libinklevel/usr/lib64/libinklevel.la
libtool: install: /bin/ginstall -c .libs/libinklevel.a /tmp//package-libinklevel/usr/lib64/libinklevel.a
libtool: install: chmod 644 /tmp//package-libinklevel/usr/lib64/libinklevel.a
libtool: install: ranlib /tmp//package-libinklevel/usr/lib64/libinklevel.a
libtool: install: warning: remember to run `libtool --finish /usr/lib64'
test -z "/usr/doc/libinklevel-0.8.0" || /bin/mkdir -p "/tmp//package-libinklevel/usr/doc/libinklevel-0.8.0"
/bin/ginstall -c -m 644 NEWS README AUTHORS COPYING ChangeLog '/tmp//package-libinklevel/usr/doc/libinklevel-0.8.0'
test -z "/usr/include" || /bin/mkdir -p "/tmp//package-libinklevel/usr/include"
/bin/ginstall -c -m 644 inklevel.h '/tmp//package-libinklevel/usr/include'
make[1]: Leaving directory `/tmp/libinklevel-0.8.0'

Slackware package maker, version 3.14159.

Searching for symbolic links:
usr/lib64/libinklevel.so -> libinklevel.so.5.0.0
usr/lib64/libinklevel.so.5 -> libinklevel.so.5.0.0

Making symbolic link creation script:
( cd usr/lib64 ; rm -rf libinklevel.so )
( cd usr/lib64 ; ln -sf libinklevel.so.5.0.0 libinklevel.so )
( cd usr/lib64 ; rm -rf libinklevel.so.5 )
( cd usr/lib64 ; ln -sf libinklevel.so.5.0.0 libinklevel.so.5 )

It is recommended that you make these lines your new installation script.

Would you like to make this stuff the install script for this package
and remove the symbolic links ([y]es, [n]o)? y


Removing symbolic links:
removed `./usr/lib64/libinklevel.so'
removed `./usr/lib64/libinklevel.so.5'

Creating your new ./install/doinst.sh...

This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!

Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n

Creating Slackware package: /tmp/libinklevel-0.8.0-x86_64-1_.tgz

./
install/
install/slack-desc
install/doinst.sh
usr/
usr/doc/
usr/doc/libinklevel-0.8.0/
usr/doc/libinklevel-0.8.0/ChangeLog
usr/doc/libinklevel-0.8.0/COPYING
usr/doc/libinklevel-0.8.0/INSTALL
usr/doc/libinklevel-0.8.0/README
usr/doc/libinklevel-0.8.0/AUTHORS
usr/doc/libinklevel-0.8.0/libinklevel.SlackBuild
usr/doc/libinklevel-0.8.0/NEWS
usr/lib64/
usr/lib64/libinklevel.la
usr/lib64/libinklevel.a
usr/lib64/libinklevel.so.5.0.0
usr/include/
usr/include/inklevel.h

Slackware package /tmp/libinklevel-0.8.0-x86_64-1_.tgz created.

Cannot install /tmp/libinklevel-0.8.0-i486-1_.t?z: file not found
As you can see the x86_64 package was created correctly but it tried to install ani486 package.

samac

samac 06-27-2010 03:34 AM

The same thing happened with the command
Code:

TAG="samac" mkslack -r -i inq-1.0.0.tar.gz
On the bright side I now have ink monitoring for my Epson Stylus D88.

samac

Alien Bob 06-27-2010 05:09 AM

If you check how the script works, it will assume ARCH=i486 unless you specify something different.

dive, perhaps you should adopt the automatic ARCH detection routine which is used by Slackware since 13.1.

Eric

dive 06-27-2010 09:30 AM

Quote:

Originally Posted by Alien Bob (Post 4016215)
If you check how the script works, it will assume ARCH=i486 unless you specify something different.

dive, perhaps you should adopt the automatic ARCH detection routine which is used by Slackware since 13.1.

Eric

Yeah good point with that.

dive 06-27-2010 10:33 AM

Upgraded to 3.1.

Also added appname into slack-desc so at least it will show something when installing.

http://www.dawoodfall.net/slackbuild...rsion/mkslack/

Gavin Harper 06-27-2010 01:01 PM

This is fantastic! Thank you!

dive 06-27-2010 05:46 PM

Upgraded to 3.2

Fixed an issue with cmake packages.

V4Nelle 06-28-2010 07:44 AM

perfect application!

Thx dive!

slakmagik 06-28-2010 04:23 PM

I haven't tested these changes beyond using {a,k,z,ba}sh to pretend to build a bash package with no arguments (zsh needs to be run as 'sh' or with '-y' because it's weird) so there's no telling if/how much I broke it (bad dev policy, to say the least, I know) but here are some ideas for what their worth:

http://github.com/slakmagik/mkslack

If that's inconvenient, I could mail the set of patches or something.

The main stuff is making it run under all the Slack Bourne shells (sort of pseudo-semi-POSIX-ifying) and simplifying/speeding a few places.

I'd started to write something along your lines but never got far with it (just like I'd messed around with a prototype of an 'sbopkg' sort of program - everybody 'publishes' before me) so I figured I might throw some patches at you. :) If you're not interested, that's cool. I just got intrigued with doing it. There's still a couple more things I want to try, but this is the bulk of what occurred to me.

dive 06-28-2010 04:34 PM

Just having a quick read but I can see already some interesting enhancements. Great.

dive 06-29-2010 05:12 PM

We now have a channel #mkslack on irc.freenode.net

dive 06-30-2010 03:29 AM

Ok. Going to make this 3.3 release candidate 1. Feedback welcome.

Changelog:
Quote:

Wed 30 Jun 2010 09:07:19 BST
Version 3.3rc1
Incorporated SlakMagik's nice, new code.
-r is now -b (for build)
A new -V for version check.
With -b you get the choice of having a failed build fixed and
rebuilt. Mostly for manpage/info errors. A new config option
ERRORACTION to do this, which can be PROMPT, AUTO or EXIT.
Now config file errors are reported back.
Now TAG _must_ have a preceding underscore, which keeps it in
line with slackbuilds.
+--------------------------+
Any problems - please give details of archive with a download link if possible.

Note that from now on man and info pages will not be automatically removed unless using the -b option and an error has occurred. The reason for this is it's very difficult, almost impossible, to detect them without building. It seems better to have to remove a few lines from a slackbuild manually rather than have to go looking up a template to add them back in, which defeats the object.

Also worth noting is that since makepkg outputs directory listing to stderror these aren't output to console with -b.

Alien Bob 06-30-2010 03:48 AM

Quote:

Now TAG _must_ have a preceding underscore, which keeps it in
line with slackbuilds.
This is not a requirement at all for SlackBuild scripts, not even for those hosted on http://slackbuilds.org/ . In fact, my own tag is "alien" without the underscore. perfectly fine. Please revert this change.

Eric

dive 06-30-2010 04:03 AM

Quote:

Originally Posted by Alien Bob (Post 4019092)
This is not a requirement at all for SlackBuild scripts, not even for those hosted on http://slackbuilds.org/ . In fact, my own tag is "alien" without the underscore. perfectly fine. Please revert this change.

Eric

Done.


All times are GMT -5. The time now is 02:15 AM.