VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: sbbuilder help  (Read 2764 times)

faileas

  • Packager
  • Member
  • ****
  • Posts: 7
sbbuilder help
« on: March 21, 2010, 06:07:19 pm »

I'm trying to teach myself to package - there's a few packages i use and find to be rather useful, and want to share. I picked axel since it has no dependancies, and is a simple C based app i can compile and install in minutes (and is REALLY useful. beats wget in terms of speed once you get to know it). I *suspect* there's an error in the script somewhere but i'm not sure, so i'm wondering if someone more experienced can pick apart what i did , and tell me if i'm doing something stupid

Code: [Select]
#
buildserv://home/geek/pbuild
#
root:# sbbuilder --package=axel --version=2.4 --type=normal --link=http://alioth.debian.org/frs/download.php/3015/axel-2.4.tar.gz
#
buildserv://home/geek/pbuild
#
root:# ls
#
axel/
#
buildserv://home/geek/pbuild
#
root:# cd axel/
#
buildserv://home/geek/pbuild/axel
#
root:# ls
#
2.4/
#
buildserv://home/geek/pbuild/axel
#
root:# cd 2.4/
#
buildserv://home/geek/pbuild/axel/2.4
#
root:# ls
#
src/
#
buildserv://home/geek/pbuild/axel/2.4
#
root:# cd src/
#
buildserv://home/geek/pbuild/axel/2.4/src
#
root:# ls
#
axel.SlackBuild
#
buildserv://home/geek/pbuild/axel/2.4/src
#
root:# sh axel.SlackBuild
#
--2010-03-22 09:03:14--  http://alioth.debian.org/frs/download.php/3015/axel-2.4.tar.gz
#
Resolving alioth.debian.org... 217.196.43.134
#
Connecting to alioth.debian.org|217.196.43.134|:80... connected.
#
HTTP request sent, awaiting response... 200 OK
#
Length: 50704 (50K) [application/binary]
#
Saving to: `axel-2.4.tar.gz'
#
 
#
100%[======================================>] 50,704      35.4K/s   in 1.4s
#
 
#
2010-03-22 09:03:16 (35.4 KB/s) - `axel-2.4.tar.gz' saved [50704/50704]
#
 
#
Extracting source...
#
axel-2.4/axel.c
#
axel-2.4/conf.c
#
axel-2.4/conn.c
#
axel-2.4/ftp.c
#
axel-2.4/http.c
#
axel-2.4/search.c
#
axel-2.4/tcp.c
#
axel-2.4/text.c
#
axel-2.4/axel.h
#
axel-2.4/conf.h
#
axel-2.4/conn.h
#
axel-2.4/ftp.h
#
axel-2.4/http.h
#
axel-2.4/search.h
#
axel-2.4/tcp.h
#
axel-2.4/de.po
#
axel-2.4/nl.po
#
axel-2.4/ru.po
#
axel-2.4/zh_CN.po
#
axel-2.4/axel.1
#
axel-2.4/axel_zh_CN.1
#
axel-2.4/configure
#
axel-2.4/Makefile
#
axel-2.4/axelrc.example
#
axel-2.4/gui/
#
axel-2.4/gui/kapt/
#
axel-2.4/gui/kapt/axel-kapt.1
#
axel-2.4/gui/kapt/axel-kapt
#
axel-2.4/gui/kapt/Makefile
#
axel-2.4/gui/kapt/axel-kapt.desktop
#
axel-2.4/API
#
axel-2.4/CHANGES
#
axel-2.4/COPYING
#
axel-2.4/CREDITS
#
axel-2.4/README
#
Setting permissions...
#
Configuring source...
#
Axel configure
#
 
#
Usage: ./configure [OPTIONS]
#
 
#
Option          Description                             Default
#
 
#
--prefix=...    Directories to put files in             /usr
#
--bindir=...                                            $prefix/bin
#
--etcdir=...                                            $prefix/etc
#
--mandir=...                                            /usr/man
#
--locale=...                                            $sharedir/locale
#
 
#
--i18n=0/1      Disable/enable internationalization     1
#
--debug=0/1     Disable/enable debugging                0
#
--strip=0/1     Disable/enable binary stripping         1
#
make: Nothing to be done for `all'.
#
mkdir -p /home/geek/pbuild/axel/2.4/tmp/package-axel/
#
cp  /home/geek/pbuild/axel/2.4/tmp/package-axel/
#
cp: missing destination file operand after `/home/geek/pbuild/axel/2.4/tmp/package-axel/'
#
Try `cp --help' for more information.
#
make: *** [install-bin] Error 1
#
buildserv://home/geek/pbuild/axel/2.4/src
Logged

Daniel

  • Packager
  • Vectorian
  • ****
  • Posts: 704
    • TuxToys - Packages for VectorLinux 6.0
Re: sbbuilder help
« Reply #1 on: March 21, 2010, 06:28:17 pm »

Take a look at the packaging tutorials here: http://www.opensourcebistro.com/Tutorial/VL60/VLpackaging/page
Logged
The following sentence is true. The previous sentence is false.

VL 6.0 SOHO KDE-Classic on 2.3 Ghz Dual-core AMD with 3 Gigs of RAM

faileas

  • Packager
  • Member
  • ****
  • Posts: 7
Re: sbbuilder help
« Reply #2 on: March 21, 2010, 06:29:13 pm »

replacing this section with just ./configure from the pbuild file fixed it

Code: [Select]
./configure --prefix=/usr \
  --sysconfdir=/etc \
  --localstatedir=/var \
  --mandir=/usr/man \
  --with-included-gettext \
  --disable-debug \
  --program-prefix="" \
  --program-suffix="" \
  --build=$CONFIGURE_TRIPLET \

Logged