New package: libapp-20110513 (from pancake).
This commit is contained in:
parent
f9e26ac195
commit
bcfe2d9f5b
5 changed files with 62 additions and 0 deletions
|
@ -1181,3 +1181,4 @@ libtinyxml.so.0 tinyxml-2.6.2_1
|
|||
libbluray.so.1 libbluray-0.2.3_1
|
||||
libnfs.so.1 libnfs-1.3.0_1
|
||||
libzip.so.2 libzip-0.10.1_1
|
||||
libapp.so.0 libapp-20110513_1
|
||||
|
|
1
srcpkgs/libapp-devel
Symbolic link
1
srcpkgs/libapp-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
libapp
|
9
srcpkgs/libapp/libapp-devel.template
Normal file
9
srcpkgs/libapp/libapp-devel.template
Normal file
|
@ -0,0 +1,9 @@
|
|||
# Template file for 'libapp-devel'.
|
||||
short_desc="${short_desc} - development files"
|
||||
depends="${sourcepkg}>=${version}"
|
||||
noarch=yes
|
||||
|
||||
do_install() {
|
||||
vmove usr/include usr
|
||||
vmove usr/lib/pkgconfig usr/lib
|
||||
}
|
22
srcpkgs/libapp/patches/fix_makefile.patch
Normal file
22
srcpkgs/libapp/patches/fix_makefile.patch
Normal file
|
@ -0,0 +1,22 @@
|
|||
--- Makefile.orig 2013-02-11 15:06:43.831345892 +0100
|
||||
+++ Makefile 2013-02-11 15:07:53.196725322 +0100
|
||||
@@ -25,7 +25,7 @@ apptest.o: base.h apptest.c app.h list.h
|
||||
list.o: base.h list.h list.c
|
||||
|
||||
$(SONAME).$(VER): $(OBJS)
|
||||
- $(CC) $(MY_CFLAGS) $(CFLAGS) $(LDFLAGS) -Wl,-soname=$(SONAME) -shared -o $@ $(OBJS)
|
||||
+ $(CC) $(MY_CFLAGS) $(CFLAGS) $(LDFLAGS) -Wl,-soname=$(SONAME).0 -shared -o $@ $(OBJS)
|
||||
|
||||
.c.o:
|
||||
$(CC) $(MY_CFLAGS) $(CFLAGS) $(CPPFLAGS) -c $< -o $@
|
||||
@@ -44,8 +44,9 @@ clean:
|
||||
|
||||
install: $(SONAME) libapp.pc
|
||||
install -d '$(LIBDIR)'
|
||||
- $(INSTALL_S) -t '$(LIBDIR)' $(SONAME).$(VER)
|
||||
+ install -m 755 $(SONAME).$(VER) $(LIBDIR)
|
||||
$(LN_SF) $(SONAME).$(VER) '$(LIBDIR)'/$(SONAME)
|
||||
+ $(LN_SF) $(SONAME).$(VER) '$(LIBDIR)'/$(SONAME).0
|
||||
install -d '$(INCAPPDIR)'
|
||||
install -m 644 -t '$(INCAPPDIR)' $(HEADERS)
|
||||
install -d '$(PKGCONFIGDIR)'
|
29
srcpkgs/libapp/template
Normal file
29
srcpkgs/libapp/template
Normal file
|
@ -0,0 +1,29 @@
|
|||
# Template file for 'libapp'
|
||||
pkgname=libapp
|
||||
version=20110513
|
||||
revision=1
|
||||
subpackages="libapp-devel"
|
||||
short_desc="utilities for repetitive tasks in app development"
|
||||
maintainer="pancake <pancake@nopcode.org>"
|
||||
license="LGPL-3"
|
||||
homepage="https://github.com/drotiro/libapp"
|
||||
distfiles="${homepage}/archive/${version}.tar.gz"
|
||||
checksum=654604b5ead726de0ebb1932b49785a6146c59d312f4931080a04e86b7afb177
|
||||
|
||||
makedepends="git"
|
||||
nofetch=yes
|
||||
noextract=yes
|
||||
|
||||
do_fetch() {
|
||||
git clone git://github.com/drotiro/libapp.git ${pkgname}-${version}
|
||||
cd ${pkgname}-${version}
|
||||
git reset --hard e91cd8d35f16f73a8f5fb067470024228c9cdabd
|
||||
}
|
||||
|
||||
do_build() {
|
||||
make ${makejobs} PREFIX=/usr
|
||||
}
|
||||
|
||||
do_install() {
|
||||
make install PREFIX=${DESTDIR}/usr
|
||||
}
|
Loading…
Reference in a new issue