Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PKGBUILD files
10-05-2011, 10:46 AM (This post was last modified: 10-05-2011 10:50 AM by tavvva.)
Post: #41
RE: PKGBUILD files
Nobody becomes experienced in a week :] And if people are still able to learn new things, then they're alive! :]

Unfortunately I got sick Confused ... But I'll try to review and upload the packages continuously.
Don't worry, they're not forgotten :]
Visit this user's website Find all posts by this user
Quote this message in a reply
10-05-2011, 12:46 PM
Post: #42
RE: PKGBUILD files
I'm not complaining, till a couple of months ago I was using the terminal mainly for 'sudo apt-get'. Compiling? only 2 programs minetest and arnold, a cpc emulator to be exactly (which works on Delicate too except for the sound, but needs min. a PII otherwise it's too slow). So I can say I'm a bit further now :]

Get well soon.
There is no need for hurry, the PKGBUILD's wouldn't runaway :]

Hardware in use: Compaq PIII- 1GHZ, Geforce 4000, 256mb, 80gb HD
Dutch Delicate Linux information: http://www.delicatelinux.nl.ae
Visit this user's website Find all posts by this user
Quote this message in a reply
10-05-2011, 09:33 PM
Post: #43
RE: PKGBUILD files
Yet Another BASIC, a simple BASIC interpreter.

Code:
# Maintainer: theo - nl2stk
# Thanks to: damir

pkgname=yabasic
pkgver=2.763
pkgrel=1
pkgdesc="Yet Another Basic"
license=('GPL2' 'custom:Artistic')
url="http://www.yabasic.de/"
depends=('libX11' 'libsm' 'ncurses')
source=("http://www.yabasic.de/download/$pkgname-$pkgver.tar.gz")
md5sums=('98f0cb59db973b89753abcc24b2c5ec2')

build() {
  cd $startdir/src/$pkgname-$pkgver

  libtoolize --copy --force
  aclocal
  autoheader
  autoconf
  automake -a -c -i

  ./configure --prefix=/usr --host=$CHOST --build=$CHOST
  make || return 1
  make prefix=$startdir/pkg/usr install
  install -Dm644 ARTISTIC ${pkgdir}/usr/share/licenses/yabasic/Artistic
}

Hardware in use: Compaq PIII- 1GHZ, Geforce 4000, 256mb, 80gb HD
Dutch Delicate Linux information: http://www.delicatelinux.nl.ae
Visit this user's website Find all posts by this user
Quote this message in a reply
10-06-2011, 10:05 AM
Post: #44
RE: PKGBUILD files
Generator (Sega Megadrive/Genesis emulator)
I believe this is a bit 'highend' for typical Delicate machines, assuming this emulates the M68000, Z80a etc.
I didn't test it on my toshiba, but it was just an experiment.

Code:
# Maintainer: theo - nl2stk

pkgname=generator
pkgver=0.35_cbiere_r4
pkgrel=1
pkgdesc="A Sega Megadrive/Genesis emulator"
url="http://www.squish.net/generator"
license=("GPL")
depends=('gtk' 'nasm' 'sdl' 'bzip2' 'zlib' 'libjpeg')
source=("http://www.squish.net/generator/cbiere/generator/generator-0.35-cbiere-r4.tar.bz2")
md5sums=('db4142912872a3f34d6d4e3bfe693b64')

build() {
  cd $startdir/src/$pkgname-0.35-cbiere-r4
  ./configure --prefix=/usr --with-raze --with-sdl-audio --with-gtk
  make
  make DESTDIR="${pkgdir}" install
}

Normally the "./configure" sentence would be:
./configure --prefix=/usr --host=$CHOST --build=$CHOST --with-raze --with-sdl-audio --with-gtk
But with that sentence the result is this.:

Code:
checking build system type... i686-pc-linux-gnu
checking host system type... Invalid configuration `i386-linux-uclibc': system `uclibc' not recognized
configure: error: /bin/sh ./config.sub i386-linux-uclibc failed
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.

Maybe something for a cold winternight to figure that one out :]

Hardware in use: Compaq PIII- 1GHZ, Geforce 4000, 256mb, 80gb HD
Dutch Delicate Linux information: http://www.delicatelinux.nl.ae
Visit this user's website Find all posts by this user
Quote this message in a reply
10-06-2011, 01:12 PM
Post: #45
RE: PKGBUILD files
(10-06-2011 10:05 AM)nl2stk Wrote:  Normally the "./configure" sentence would be:
./configure --prefix=/usr --host=$CHOST --build=$CHOST --with-raze --with-sdl-audio --with-gtk
But with that sentence the result is this.:

Code:
checking build system type... i686-pc-linux-gnu
checking host system type... Invalid configuration `i386-linux-uclibc': system `uclibc' not recognized
configure: error: /bin/sh ./config.sub i386-linux-uclibc failed
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.

Maybe something for a cold winternight to figure that one out :]

Some configure scripts do not support uclibc ... in such cases try to use one of the compatible alternatives .... for example these:
--host=i386-pc-linux-gnu --build=i386-pc-linux-gnu
Visit this user's website Find all posts by this user
Quote this message in a reply
10-06-2011, 03:03 PM
Post: #46
RE: PKGBUILD files
(09-30-2011 07:31 PM)nl2stk Wrote:  Bombic a nice bomberman clone :]

./configure --prefix=/usr --host=$CHOST --build=$CHOST

Have You really succeeded with these build/host values?
I had to change them to i386-pc-linux-gnu in order to pass.
Maybe they were missing during Your very first try and then
You forgot to clean the build environment :]
Visit this user's website Find all posts by this user
Quote this message in a reply
10-06-2011, 08:14 PM
Post: #47
RE: PKGBUILD files
(10-06-2011 03:03 PM)tavvva Wrote:  Maybe they were missing during Your very first try and then
You forgot to clean the build environment :]

I don't know it for sure, but that could be the issue..
Lucky enough there were not to many PKGBUILD's with ' ./configure --' sentences..

Hardware in use: Compaq PIII- 1GHZ, Geforce 4000, 256mb, 80gb HD
Dutch Delicate Linux information: http://www.delicatelinux.nl.ae
Visit this user's website Find all posts by this user
Quote this message in a reply
10-07-2011, 02:06 PM (This post was last modified: 10-07-2011 02:18 PM by nl2stk.)
Post: #48
RE: PKGBUILD files
Eyecandy :]
Two programs to add some eyecandy (composite and fading windows and some shadows)
transset-df and xcompmgr.

Code:
# Maintainer: theo - nl2stk
# Contributer: Aaron Schaefer

pkgname=transset-df
pkgver=1
pkgrel=1
pkgdesc="A patched version of X.Org's transset with added functionality"
url="http://forchheimer.se/transset-df/"
license=('GPL')
depends=('libxcomposite' 'libxdamage' 'libxrender')
source=(http://forchheimer.se/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('29252525d2865f01d6eb10e8cb7cf5c9')

build() {
  cd ${srcdir}/$pkgname-$pkgver
  make
  install -D -m755 transset-df ${pkgdir}/bin/transset-df
}

The next one..

Code:
# Maintainer: theo - nl2stk
   # Thanks tor: Jan de Groot
   pkgname=xcompmgr
   pkgver=1.1.1
   pkgrel=1
   pkgdesc="Composite Window-effects manager for X.org"
   url="http://www.freedesktop.org/Software/xapps"
   depends=('xorg-server')
   source=(http://freedesktop.org/xapps/release/$pkgname-$pkgver.tar.bz2)
   md5sums=('5c7b7e1c0360fec4b185cf575cf3fa0a')
      
   build() {
   cd $startdir/src/$pkgname-$pkgver
   ./configure --prefix=/usr --host=$CHOST --build=$CHOST
   make || return 1
   make DESTDIR=$startdir/pkg install
   }

EDIT: An example with both programs running added.

   

Hardware in use: Compaq PIII- 1GHZ, Geforce 4000, 256mb, 80gb HD
Dutch Delicate Linux information: http://www.delicatelinux.nl.ae
Visit this user's website Find all posts by this user
Quote this message in a reply
10-08-2011, 09:58 AM (This post was last modified: 10-08-2011 09:59 AM by nl2stk.)
Post: #49
RE: PKGBUILD files
Lua 5.1.4, a lightweight programming language which is needed by several applications.

Code:
# Maintainer: theo - nl2stk
# Thanks to: Damir Perisa
pkgname=lua
pkgver=5.1.4
pkgrel=1
pkgdesc="A powerful light-weight programming language designed for extending applications."
url="http://www.lua.org/"
depends=('readline' 'ncurses')
license=(MIT)
source=(http://www.lua.org/ftp/$pkgname-$pkgver.tar.gz)
md5sums=('d0870f2de55d59c1c8419f36e8fac150')

build() {
  cd $startdir/src/$pkgname-$pkgver
  make INSTALL_TOP=$startdir/pkg/usr INSTALL_MAN=$startdir/pkg/usr/share/man/man1 linux install  || return 1
  install -D -m 644 etc/lua.pc $startdir/pkg/usr/lib/pkgconfig/lua.pc
  install -D -m644 COPYRIGHT $startdir/pkg/usr/share/licenses/$pkgname/COPYRIGHT
  # Install the documentation
  mkdir -p $pkgdir/usr/share/doc/lua
  cp -R doc/* $pkgdir/usr/share/doc/lua
}

Hardware in use: Compaq PIII- 1GHZ, Geforce 4000, 256mb, 80gb HD
Dutch Delicate Linux information: http://www.delicatelinux.nl.ae
Visit this user's website Find all posts by this user
Quote this message in a reply
10-08-2011, 10:36 PM
Post: #50
RE: PKGBUILD files
B.T.W. I've tried the '--host=i386...etc' with generator (sega emulator) and it works! :]

Hardware in use: Compaq PIII- 1GHZ, Geforce 4000, 256mb, 80gb HD
Dutch Delicate Linux information: http://www.delicatelinux.nl.ae
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 3 Guest(s)

Contact Us | DeLi(cate) Linux | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication