Commit bd8f1f47 authored by Timo Teräs's avatar Timo Teräs

main/[various]: update config.sub (fixes musl build)

parent 1a27add6
......@@ -13,9 +13,9 @@ install=
subpackages="$pkgname-doc"
source="http://ftp.gnu.org/gnu/acct/${pkgname}-${pkgver}.tar.gz"
prepare() {
cd "$srcdir/$pkgname-$pkgver"
update_config_sub || return 1
# fix eglibc-2.16+ build issue
sed -i -e '/gets is a/d' \
lib/stdio.in.h || return 1
......
......@@ -18,6 +18,7 @@ _builddir="$srcdir"/at-spi2-atk-$pkgver
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -18,6 +18,7 @@ _builddir="$srcdir"/at-spi2-core-$pkgver
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -11,11 +11,16 @@ makedepends="flex bison pkgconfig"
subpackages="$pkgname-dev"
source="http://savannah.nongnu.org/download/confuse/confuse-$pkgver.tar.gz"
build() {
cd "$srcdir"/$pkgname-$pkgver
# drop -Werror
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
update_config_sub || return 1
sed -i -e 's/-Werror//' */Makefile.* || die
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -27,7 +32,7 @@ build() {
}
package() {
cd "$srcdir"/$pkgname-$pkgver
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la || return 1
install -D -m644 libconfuse.pc "$pkgdir"/usr/lib/pkgconfig/libconfuse.pc
......
......@@ -33,6 +33,10 @@ build() {
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
rm -rf "$pkgdir"/usr/lib/charset.alias
rmdir -p "$pkgdir"/usr/lib 2>/dev/null
install -d "$pkgdir"/bin "$pkgdir"/usr/sbin
cd "$pkgdir"/usr/bin/
......
......@@ -10,8 +10,15 @@ depends=
source="ftp://ftp.astron.com/pub/file/file-$pkgver.tar.gz"
subpackages="$pkgname-dev $pkgname-doc"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
update_config_sub || return 1
}
build() {
cd "$srcdir"/$pkgname-$pkgver
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......
......@@ -15,6 +15,7 @@ source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.t
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -16,6 +16,7 @@ source="http://downloads.sourceforge.net/enlightenment/$pkgname-$pkgver.tar.bz2"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
}
build() {
......
......@@ -19,6 +19,10 @@ source="http://joewing.net/programs/jwm/snapshots/$pkgname-$pkgver.tar.bz2"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
}
build() {
cd "$_builddir"
......
......@@ -13,9 +13,15 @@ install=
subpackages="$pkgname-dev"
source="ftp://ftp.mars.org/pub/mpeg/libid3tag-$pkgver.tar.gz"
build() {
cd "$srcdir/$pkgname-$pkgver"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
update_config_sub || return 1
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -28,10 +34,9 @@ build() {
}
package() {
cd "$srcdir/$pkgname-$pkgver"
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la
rm "$pkgdir"/usr/lib/*.la
}
md5sums="e5808ad997ba32c498803822078748c3 libid3tag-0.15.1b.tar.gz"
......@@ -18,6 +18,7 @@ _builddir="$srcdir"/libsecret-$pkgver
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -15,6 +15,7 @@ source="http://ftp.gnome.org/pub/gnome/sources/libunique/${pkgver%.*}/libunique-
_builddir="$srcdir"/libunique-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return;;
......
......@@ -10,8 +10,15 @@ depends=""
makedepends=""
source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.tar.bz2"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
update_config_sub || return 1
}
build() {
cd "$srcdir"/$pkgname-$pkgver
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -21,7 +28,7 @@ build() {
}
package() {
cd "$srcdir"/$pkgname-$pkgver
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
......
......@@ -10,8 +10,15 @@ depends=""
makedepends=""
source="http://xorg.freedesktop.org//releases/individual/proto/$pkgname-$pkgver.tar.bz2"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
update_config_sub || return 1
}
build() {
cd "$srcdir"/$pkgname-$pkgver
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -21,7 +28,7 @@ build() {
}
package() {
cd "$srcdir"/$pkgname-$pkgver
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="9959fe0bfb22a0e7260433b8d199590a xineramaproto-1.2.1.tar.bz2"
......@@ -11,6 +11,11 @@ depends=
makedepends="nasm"
source="http://downloads.xvid.org/downloads/$pkgname-$pkgver.tar.bz2"
prepare() {
cd "$srcdir"/$pkgname
update_config_sub || return 1
}
build() {
cd "$srcdir"/$pkgname/build/generic
./configure \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment