Skip to content

Instantly share code, notes, and snippets.

@flooose
Created August 5, 2010 07:51
Show Gist options
  • Save flooose/509404 to your computer and use it in GitHub Desktop.
Save flooose/509404 to your computer and use it in GitHub Desktop.
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.
# Maintainer: Your Name <youremail@domain.com>
pkgname=raop_play
pkgver=0.5.1
pkgrel=1
pkgdesc="Discover Airport Express by Apple Rendezvous.Browse music files and send selected files to the Airport Express."
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/raop-play/"
license=('GPL')
groups=()
depends=()
makedepends=( 'fltk>=1.1.4' 'glib2>=2.0' 'libsamplerate' 'libid3tag' )
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("http://downloads.sourceforge.net/project/raop-play/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz")
noextract=()
md5sums=('921f89c1d61f2a22e737e8431df63301')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr
make
echo $pkgdir
make DESTDIR=$pkgdir install
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}
# vim:set ts=2 sw=2 et:
###########################################
==> Making package: raop_play 0.5.1-1 (Thu Aug 5 09:56:25 CEST 2010)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found raop_play-0.5.1.tar.gz
==> Validating source files with md5sums...
raop_play-0.5.1.tar.gz ... Passed
==> Extracting Sources...
-> Extracting raop_play-0.5.1.tar.gz with bsdtar
==> Removing existing pkg/ directory...
==> Starting build()...
checking for g++... g++
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 g++ accepts -g... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for RSA_new in -lssl... no
Error! You need libssl.
Aborting...
@flooose
Copy link
Author

flooose commented Aug 5, 2010

==> Making package: raop_play 0.5.1-1 (Thu Aug 5 09:56:25 CEST 2010)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found raop_play-0.5.1.tar.gz
==> Validating source files with md5sums...
raop_play-0.5.1.tar.gz ... Passed
==> Extracting Sources...
-> Extracting raop_play-0.5.1.tar.gz with bsdtar
==> Removing existing pkg/ directory...
==> Starting build()...
checking for g++... g++
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 g++ accepts -g... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for RSA_new in -lssl... no
Error! You need libssl.
Aborting...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment